Re: [soaplite] sending raw XML as the result
- Yeah - I did this in a service I wrote around Amazon's REST based
service. Check out:
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 useSOAP::Data to create elements one by one.
Yahoo! Groups Sponsor
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Grand Central Communications