- ... Hi Karjala, from perldoc SOAP::Data: $xml_content = 123 ; $elem = SOAP::Data- type( xml = $xml_content); See the COMPOSINGMessage 1 of 2 , Apr 16, 2006View SourceKarjala wrote:
> Is there a way to send raw XML that I type by hand inside theHi Karjala, from perldoc SOAP::Data:
> <functionname>...</functionname>, instead of having to play with
> SOAP::Data ?
> SOAP::Data can get very annoying for complicated queries.
> Is there?
$xml_content = "<foo><bar>123</bar></foo>";
$elem = SOAP::Data->type('xml' => $xml_content);
See the COMPOSING MESSAGES USING RAW XML section.