Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] return response is not what I expected!

Expand Messages
  • Dave Howorth
    Oops! sent it just to the OP ... ... Well, you haven t shown much detail :) My guess would be that you re doing some operation in scalar context instead of
    Message 1 of 2 , Feb 15 1:15 AM
    • 0 Attachment
      Oops! sent it just to the OP ...

      -------- Original Message --------

      cytopia00 wrote:
      > So, I have a soap server running on php which I know is working
      > 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.

      Well, you haven't shown much detail :)

      My guess would be that you're doing some operation in scalar context
      instead of list context. What is the get_ids method?

      Cheers, Dave
    Your message has been successfully submitted and would be delivered to recipients shortly.