http://qs321.pair.com?node_id=629311


in reply to SOAP::Deserializer problem

You process a soap response so I suppose you have a soap request object with data in $request.
You want to initialize the request as
$response = $soap->myrequest($request);

Then after applying a valueof method on return object you can access your values:

$value1 = $response->valueof('//Envelope/Body/command');
$value2 = $response->valueof('//Envelope/Body/command/message');

or you can check if the path is correct with:
if ($match = $response->match('/Envelope/Body/command')) {
$value1 = $response->valueof('//Envelope/Body/command');
}
Hope this helps.