我试图将一些数据发送到.NET WSDL Web服务
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateCustomer xmlns="http://www.transactorgsl.com/">
<ds>dataset</ds>
<dsUser>
<xsd:schema>schema</xsd:schema>xml</dsUser>
<lintProductType>int</lintProductType>
</UpdateCustomer>
</soap:Body>
</soap:Envelope>
但我没有在哪里,
任何关于PHP调用的想法......
我目前正在使用
$client = new soapclient("http://XXXXXXXX/WEB_DAL/customer.asmx?wsdl", array('trace' => 1, 'exceptions' => 0));
$params = array(
"dataset" => array( ARRAY DATA HERE ),
"schema" => SCHEMA HERE,
"lintProductType" => 1,
);
$client -> __call("UpdateCustomer", array($params));
非常感谢