Re: [soaplite] return response is not what I expected!
- Oops! sent it just to the OP ...
-------- Original Message --------
> So, I have a soap server running on php which I know is workingWell, you haven't shown much detail :)
> because it works on PHP and when I run the '+debug' on soap::lite it
> gives me back an array of strings.
> The call first uses
> $soap = SOAP::Lite->proxy('http://www.server.to/server.php');
> $response = $soap->get_ids();
> If you do a soap trace, you will get the response from the server with
> a string of ids. However, $response only contains the number 1.
> There is no array in it.
> Anyone know why my response is only returning 1? It's supposed to
> contain the array that I see in the soap trace.
My guess would be that you're doing some operation in scalar context
instead of list context. What is the get_ids method?