'jerry@163.com', 'password'=>$pwd, 'Add"/>
PHP头条
热点:

soap-PHPSOAP问题求帮助!


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

?>

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

www.phpzy.comtrue/phpyy/1408.htmlTechArticlesoap-PHPSOAP问题求帮助! soapphp $objSoapClient = new SoapClient("http://system.4haiyou.com/Merchant/Order.asmx?WSDL"); $pwd = 'e10adc3949ba59abbe56e057f20f883e'; try{ $param = array('userName'=>'jerry@163.com', 'password'=>$pwd, 'Add...

相关文章

相关频道:

PHP之友评论

今天推荐