title: How can I get attributes from complex SOAP::DATA structure in SOAP::Lite?
body: <p>I can't get a simple attribute value from SOAP response using SOAP::Lite.
  Below the code and output of SOAP::Data. I'm trying to get value of the attribute //response/dirn/attr/uuid</p>
  
  <pre><code>my $cm = new SOAP::Lite
    uri =&gt; 'http://www.cisco.com/AXL/API/1.0',
    proxy =&gt; "https://10.0.0.1:8443/axl/";
  
  my $res = $cm-&gt;getPhone(
    SOAP::Data-&gt;name(phoneName =&gt; 'SEP00270D3D7A4C'),
  );
  
  for my $i ($res-&gt;valueof('//device/lines/line')) {
    print Dumper($i);
    #print $i-&gt;{dirn}-&gt;{attr}-&gt;{'uuid'}."\n"; # line below give me an error
  }
  </code></pre>
  
  <p>Here the output of Data::Dumper. I actually have the requested value, but I can't get it through SOAP::Data</p>
  
  <pre><code>$VAR1 = \bless( {
  '_signature' =&gt; [],
  '_value' =&gt; [
    bless( {
      '_name' =&gt; 'dirn',
      '_signature' =&gt; [],
      '_value' =&gt; [
        ''
      ],
      '_prefix' =&gt; '',
      '_attr' =&gt; {
        'uuid' =&gt; '{615C3550-1EFD-56C7-3788-2AA8725880E3}' #!!!!!!!!!!!!!!!!!!!!!!!!!!
      }
    }, 'SOAP::Data' ),
  ],
  '_attr' =&gt; {}
  }, 'SOAP::Data' );
  </code></pre>
  
  <p>I spent about several hours trying to get this attribute value. I've already thinking about using output of Data::Dumper to get the value as fast and dirty hack.</p>
  
  <p>Thanks in advance</p>
  
  <p>P.S.: SOAP Server is Cisco CUCM 6.1.5</p>