Can't pass more than one parameter using WSDL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux