Search the web
Sign In
New User? Sign Up
soaplite · SOAP::Lite for Perl (soaplite.com)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to send and raw XML.   Message List  
Reply | Forward Message #2634 of 6387 |
How to send through SOAP::Lite a message instead of calling remote
subroutine? Just to put some XML into envelope - <soap-env:Body>
and send it to server. The same with server - receive pure XML message
and response with
another XML message.

I can't find any solution in the docs.

--
Thanks in advance for an answer, regards,
Lech




Tue May 20, 2003 7:30 am

kopetnik
Offline Offline
Send Email Send Email

Forward
Message #2634 of 6387 |
Expand Messages Author Sort by Date

How to send through SOAP::Lite a message instead of calling remote subroutine? Just to put some XML into envelope - <soap-env:Body> and send it to server. The...
kopetnik
Offline Send Email
May 20, 2003
7:30 am

To package raw XML in a SOAP::Data element, simply: my $xml_content = fetch($url); $xml_content =~ s/\<\?xml.*\?\>\n?//; # strip the <?xml blah?> $xml_content...
Byrne Reese
byrnereese
Online Now Send Email
May 20, 2003
5:24 pm

I think that should be: $xml_content =~ s/<\?xml.*?\?>\n?//; # strip the <?xml blah?> $xml_content =~ s/<!.*?>\n?//; # strip .*? is non-greedy - if youre...
Jim Cromie
kidongrok
Offline Send Email
May 20, 2003
7:53 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help