lost the params value when I use soapclient to call a wsdl |
|
envirement:
xampp 1.5.5, use PHP 5 download the nusoap 2005-07-31, version 0.7.2 code like this : ************************************************ $client = new soapclient('http://219.238.239.166:8005/wappush/SmsService.asmx?WSDL' , true); $param =array( 'ServiceID' => '7711772' ,'Password' => 'D10ADC3949BA59ABBE56E057F20F883E' ,'SrcNumber' => '6201500271412' ,'DestTermID' => '13911023125' ,'WapURL' => 'wap.downjoy.com' ,'Content' => '1235' ,'ScheduleTime' => '' ,'BatchSendID'=> '', ) ; $result = $client->call('Send',array('parameters' => $param) ); ************************************************ the issue is: when I set the new soapclient(url , true), the request like this: "<SOAP-ENV:Body><Send xmlns="http://tempuri_org/"><ServiceId/><Password>E10ADC3949BA59ABBE56E057F20F883E</Password>" you can see I lost the SerivceId's value!!!!! Really confused for the strange issue... my mail: seanzhang9999@gmail.com |
||||||||||||
|
Site Admin
|
I'd recommend you to check WSDL produced by server to make sure it contains ServiceID argument for Send() endpoint.
|
||||||||||||
_________________ The PHP IDE team |
lost the params value when I use soapclient to call a wsdl |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by