http://www.perlmonks.org?node_id=996640


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;