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

Re: [soaplite] Re: SOAP::Lite server returning complex types in wrong namespace?

Expand Messages
  • Paul Kulchenko
    Hi, Adam! ... you should be able to do this: $min = bless {minutesUsed = 1000, minutesLeft = 500} = minutes ; and then use $min with the same result. Best
    Message 1 of 8 , Jul 2, 2002
    View Source
    • 0 Attachment
      Hi, Adam!

      --- aroth816 <aroth816@...> wrote:
      > Thank You Paul. This worked great!

      in fact, instead of doing this:

      > > SOAP::Data->type('minutes')
      > > ->value({ minutesUsed =>SOAP::Data->type(int => 1000),
      > > minutesLeft =>SOAP::Data->type(int => 500)});

      you should be able to do this:

      $min = bless {minutesUsed => 1000, minutesLeft => 500} => 'minutes';

      and then use $min with the same result.

      Best wishes, Paul.


      __________________________________________________
      Do You Yahoo!?
      Sign up for SBC Yahoo! Dial - First Month Free
      http://sbc.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.