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

Re: [soaplite] processing complex som

Expand Messages
  • Paul Kulchenko
    Hi, Doug! ... probably something like this will work: my $soap = SOAP::Lite - uri($NS) - proxy($HOST) - deserializer(SOAP::Custom::XML::Deserializer- new)
    Message 1 of 4 , Apr 2, 2002
    • 0 Attachment
      Hi, Doug!

      --- Doug Fulton <dfulton@...> wrote:
      > I am having trouble, however, with the appropriate call to set up
      > my $d
      > (Deserializer) in the first place with the XML returned by the
      > server. Currently, I get the SOM via
      >
      > my $soap = SOAP::Lite
      > -> uri($NS)
      > -> proxy($HOST)
      > -> namespace('s');
      > my $som = $soap
      > ->call('hc:webStatsJobs');

      probably something like this will work:

      my $soap = SOAP::Lite
      -> uri($NS)
      -> proxy($HOST)
      -> deserializer(SOAP::Custom::XML::Deserializer->new)
      -> namespace('s') # << why do you need that?
      ;
      my $som = $soap
      ->call('hc:webStatsJobs');

      my $d = $som->result;

      and then use $d as in Duncan's example.

      Best wishes, Paul.

      __________________________________________________
      Do You Yahoo!?
      Yahoo! Tax Center - online filing with TurboTax
      http://http://taxes.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.