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

192Re: client-server forwarding trickery

Expand Messages
  • mbrutsch@intrusion.com
    Apr 12, 2001

      I am setting up an object, like so:

      my $soap = SOAP::Lite

      my $object = $soap
      -> call(new => parm1,
      => parm2)
      -> result;

      Then I call a method on that object:

      my $result = $soap
      -> method($object)
      -> result;

      $result contains the result. However, if I split the $soap->result
      off, like so:

      -> method($object);

      my $result = $soap
      -> result;

      I always get '1' as a result. I'm trying to use the following line
      you sent me last week:

      > print $soap->fault ? $soap->faultstring : $soap->result;

      What am I doing wrong?

    • Show all 9 messages in this topic