using SOAP::SOM to parse a LWP::UserAgent response

J Cook <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
Hi,

I have a LWP::UserAgent request that I want the response to become a 
SOAP::SOM object. Is this possible?

I've tried the following but got a weird SOAP/Lite error:

$response = $ua->request($request);
$som = SOAP::SOM->new($response->content());
print $som->valueof('//Result/Data');

Any suggestions?

TIA

Justin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.