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

Re: [soaplite] autodispatch behavior on method

Expand Messages
  • Paul Kulchenko
    Hi, Mathieu! Interesting idea. You can also write: my ($result,@paramsout) = $som- paramsall; but it s still annoying. I think I implement it. Patch is not
    Message 1 of 2 , May 17, 2001
      Hi, Mathieu!

      Interesting idea. You can also write:

      my ($result,@paramsout) = $som->paramsall;

      but it's still annoying. I think I implement it. Patch is not needed,
      should be easy, but I don't think that 'autodispatch' is the right
      name (I whould rather call it 'autoresult', but I'm open to other
      ideas also). Thanks for the hint!

      Best wishes, Paul.

      --- mrdamnfrenchy@... wrote:
      > I just found something that's slightly annoying.
      >
      > If I autodispatch, I can do stuff like
      >
      > my ($result,@paramsout) = SomeRandomSOAPCall();
      >
      > However, if I create a SOAP::Lite object like this:
      >
      > my $soap = new SOAP::Lite uri => "...", proxy => "...";
      >
      > I have to do:
      >
      > my $som = $soap->SomeRandomSOAPCall();
      > my ($result,@paramsout) = ($som->result,$som->paramsout);
      >
      > Forcing me to deal with the SOAP::SOM object. Could I do:
      >
      > my $soap = new SOAP::Lite autodispatch => 1,
      > uri => "...",
      > proxy => "...";
      >
      > And get the same behavior as with the full autodispatch?
      >
      > I could write the patch for this and send it to you if you're
      > interested.
      >
      > Thanks
      >
      > -Mathieu
      >
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >


      __________________________________________________
      Do You Yahoo!?
      Yahoo! Auctions - buy the things you want at great prices
      http://auctions.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.