Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Obtaining both XML and parsed object from SOAP::Lite?

by vitoco (Friar)
on Oct 01, 2012 at 12:25 UTC ( #996640=note: print w/ replies, xml ) Need Help??


in reply to Re: Obtaining both XML and parsed object from SOAP::Lite?
in thread Obtaining both XML and parsed object from SOAP::Lite?

Well, I previously tried some variations with $soap->http_response, but as a result, the webservice was called a second time. The transport part was what I was missing. Thank you!

BTW, as_string method also returned the HTTP headers... instead, I used:

print OUT $soap->transport->http_response->content;


Comment on Re^2: Obtaining both XML and parsed object from SOAP::Lite?
Select or Download Code
Re^3: Obtaining both XML and parsed object from SOAP::Lite?
by Anonymous Monk on Oct 01, 2012 at 12:41 UTC
    Well, headers can contain valuable info, but if you're only after content, maybe you want decoded_content, in case tar/gzip...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-10-22 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls