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

Re: [soaplite] sending raw XML as the result

Expand Messages
  • Byrne Reese
    Yeah - I did this in a service I wrote around Amazon s REST based service. Check out: http://majordojo.com/amazon_query/
    Message 1 of 3 , Sep 26, 2002
    • 0 Attachment
      Yeah - I did this in a service I wrote around Amazon's REST based
      service. Check out:

      http://majordojo.com/amazon_query/

      http://majordojo.com/amazon_query/amazon_query.txt

      Specifically:

      my $content = _fetch($url);
      $content =~ s/\<\?xml.*\?\>\n?//; # strip the <?xml blah?>
      $content =~ s/\<\!.*\>\n?//; # strip <!DOCTYPE blah>
      return SOAP::Data->type('xml' => $content);


      On Wed, 2002-09-25 at 11:23, arnaud_sahuguet wrote: Hi,

      Is there a way to send raw XML as the result of a service?
      >From the SOAP::Lite documentation, the only way seems to use
      SOAP::Data to create elements one by one.

      regards,

      Arnaud



      Yahoo! Groups Sponsor
      ADVERTISEMENT


      To unsubscribe from this group, send an email to:
      soaplite-unsubscribe@yahoogroups.com



      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

      --
      :/ byrne

      Program Manager
      Grand Central Communications
      breese@...
    Your message has been successfully submitted and would be delivered to recipients shortly.