NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
lost the params value when I use soapclient to call a wsdl


Joined: 22 Dec 2006
Posts: 1
Reply with quote
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
View user's profileFind all posts by mobilesagaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I'd recommend you to check WSDL produced by server to make sure it contains ServiceID argument for Send() endpoint.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
lost the params value when I use soapclient to call a wsdl
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic