Can't pass more than one parameter using WSDL

View: New views
1 Messages — Rating Filter:   Alert me  

Can't pass more than one parameter using WSDL

by Malone :: Rate this Message:

Reply to Author | View Threaded | Show Only 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.Controller2.wsdlcontrollerclient.phpcontrollerindex.phpcontroller.php
LightInTheBox - Buy quality products at wholesale price!