[SOAP] Can't pass more than one parameter using WSDL
| From: | Malone | Date: | Mon, 28 Jan 2008 12:41:36 +0000 |
| Subject: | [SOAP] Can't pass more than one parameter using WSDL | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2749@lists.php.net to get a copy of this message | ||
I am trying to get my soap client to talk with the soap server via wsdl and
faced with two problems :
1. When I execute the soap client, I get the following error message -
"env:ReceiverFunction 'GetUserRequest' doesn't exist ". The thing is
GetUser
is defined in the operations tag and GetUserRequest in the element tag. The
function in the soap server is GetUser.
I find that it works, if i change the GetUser function in the soap server
to GetUserRequest
2. I am not sure if this is related, but I can't seem to pass more than one
parameter/field over the function at the Soap Server. The __getRequest
function shows that I am sending both parameters(Id and Name) over to the
soap server, but at the GetUser function, I am unable to access the
parameters (ie. $parameter->Id and $paramter->Name).
I am attaching the full code for your perusal. There are four files
altogether. http://www.nabble.com/file/p15134407/Controller2.wsdl
Controller2.wsdl http://www.nabble.com/file/p15134407/controllerclient.php
controllerclient.php
http://www.nabble.com/file/p15134407/controllerindex.php
controllerindex.php
http://www.nabble.com/file/p15134407/controller.php
controller.php
--
View this message in context: http://www.nabble.com/Can%27t-pass-more-than-one-parameter-using-WSDL-tp15134407p15134407.html
Sent from the Php - Soap mailing list archive at Nabble.com.