How to post SOAP Request from PHP

后端 未结 7 794
野趣味
野趣味 2020-12-01 03:39

Anyone know how can I post a SOAP Request from PHP?

7条回答
  •  没有蜡笔的小新
    2020-12-01 04:10

    PHP has SOAP support. Just call

    $client = new SoapClient($url);
    

    to connect to the SoapServer and then you can get list of functions and call functions simply by doing...

    $client->__getTypes();      
    $client->__getFunctions();  
    
    $result = $client->functionName();  
    

    for more http://www.php.net/manual/en/soapclient.soapclient.php

提交回复
热议问题