我在
中有这个肥皂page.php文件
$client = new SoapClient('http://myservicelink.com?WSDL', array('trace' => 1));
$parameters = array('CustomerNmb' => '*****', 'Shippingnumber'=>'3498302390484309');
$res = $client->Tracking($parameters);
但没有返回任何内容。 我已经尝试在SOAP UI中检查xml,并且工作正常。
在soapUI中(工作地点)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:Sporing>
<!--Optional:-->
<tem:request>
<!--Optional:-->
<tem:Shippingnumber>3498302390484309</tem:Shippingnumber>
<!--Optional:-->
<tem:CustomerNmb>******</tem:CustomerNmb>
</tem:request>
</tem:Sporing>
</soapenv:Body>
</soapenv:Envelope>