"2.0.0", "/> "2.0.0", ">
SOAP 调用问题
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$soapclient = new soapclient("http://shippingapi.ebay.cn/production/v2/orderservice.asmx?wsdl");$params = array( 'Version' => "2.0.0", 'APIDevUserID' => "sureelectronics", 'APIPassword' => "7114209N1OCBA61N83CRA0PY1F743DSGTM7GEAY581CND3BHG0POUW20111540", 'APISellerUserID' => "sureelectronics", 'MessageID' => "125625622452", 'TrackCode' => "LK042013892CN" );$functions = $soapclient->CancelAPACShippingPackage($params);print_r($functions);<envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ship="http://shippingapi.pushauction.net/"> <header></header> <body> <cancelapacshippingpackage> <cancelapacshippingpackagerequest> <version>2.0.0</version> <apidevuserid>****</apidevuserid> <apipassword>********</apipassword> <apiselleruserid>*******</apiselleruserid> <messageid>1234</messageid> <trackcode>LK*********CN</trackcode> </cancelapacshippingpackagerequest> </cancelapacshippingpackage> </body></envelope>
$soapclient = new soapclient("http://shippingapi.ebay.cn/production/v2/orderservice.asmx?wsdl");$params = array( 'Version' => "2.0.0", 'APIDevUserID' => "sureelectronics", 'APIPassword' => "7114209N1OCBA61N83CRA0PY1F743DSGTM7GEAY581CND3BHG0POUW20111540", 'APISellerUserID' => "sureelectronics", 'MessageID' => "125625622452", 'TrackCode' => "LK042013892CN" );$functions = $soapclient->CancelAPACShippingPackage(array("CancelAPACShippingPackageRequest"=>$params));print_r( $functions);<div class="clear"> </div>