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


in reply to Re^2: SOAP::Deserializer problem
in thread SOAP::Deserializer problem

I didn't realise you don't code the request like this:
$method = SOAP::Data->name('command'=>'value');

So to access attribute values you should use

$attr_value = $som->dataof('//Envelope/Body/command')->attr->{'template'};
or
$attr_value = $som->dataof('//command')->attr->{'template'};
(I don't remember which one because don't use attributes.)

This should hold for
<Envelope>
<Body>
<command template="foo">100</command>
</Body>
</Envelope>

and $attr_value is foo, command value is 100.

Docs are in SOAP/SOM.pod of perl/site/lib directory.