PHP .NET WSDL发送数据问题

时间:2012-03-23 01:50:52

标签: php .net xml soap wsdl

我试图将一些数据发送到.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));

非常感谢

0 个答案:

没有答案