Get a text message interface document, webservice.
The mobiles parameter in the interface for sending text messages is of type ArrayOf_xsd_string. How should I pass the parameters to soap on my php side?
$ws = "http://www.aa.com:80/axis/services/SMsg?wsdl";
$client = new SoapClient ($ws,array('features' => SOAP_USE_XSI_ARRAY_TYPE) );
$b = $client->sendSM("www","www","wwwTestCom",array('18888888888'),"4561");
See actual cases
http://blog.csdn.net/bytxl/ar...
Looking at the webservice save, the parameters you provided are incorrect. Please check your interface docking document carefully
Thanks for the invitation!
First of all, don’t write code blindly. You first need to know the node of the xml you need to send. First, you need to successfully debug the interface, and then consider how to construct your client xml code. During the construction process, you can use $client-> __getLastRequest() to view the xml you sent. It just so happens that I just wrote a demo of soap client. If necessary, chat privately....
Recommended debugging client: SoapUI