Heim >Backend-Entwicklung >PHP-Tutorial >soap-PHP SOAP 问题 求帮助!

soap-PHP SOAP 问题 求帮助!

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-02 11:33:321065Durchsuche

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();
}

?>

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn