Home >Backend Development >PHP Tutorial >soap-PHP SOAP 问题 求帮助!

soap-PHP SOAP 问题 求帮助!

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-02 11:33:321081browse

soapphp

$objSoapClient = new SoapClient("http://system.4haiyou.com/Merchant/Order.asmx?WSDL");
$pwd = 'e10adc3949ba59abbe56e057f20f883e';
try{
$param = array('userName'=>'jerry@163.com',
'password'=>$pwd,
'Address1'=>'Baoan',
'Address2'=>'mingyou',
'City'=>'Shenzhen',
'ContactName'=>'Zhangjunwen',
'Country'=>'CN',
'OrderLine'=>'test',
'OrderNumber'=>'11111111',
'Phone'=>'111111111',
'Province'=>'Guangdong',
'ShippingFee'=>'',
'ShippingType'=>'',
'Status'=>'',
'TrackingNumber'=>'',
'Value'=>'',
'Zipcode'=>'',
'GuaranteePrice'=>''
);
$out = $objSoapClient->AddOrder($param);
$data = $out->AddOrderResult;

echo $data->ACK;
echo '
';

}catch(SoapFault $e){
print $e->getMessage();
}

?>

以上代码执行 无报错 也无返回信息, 不知道 这样写 代码错了没,新手求帮助!求帮助!求帮助!求帮助!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn