Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-07-06 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls