title: Why Python omits attribute in the SOAP message?
body: <p>I have a web service that returns following type:</p>
  
  <pre><code>&lt;xsd:complexType name="TaggerResponse"&gt;
      &lt;xsd:sequence&gt;
          &lt;xsd:element name="msg" type="xsd:string"&gt;&lt;/xsd:element&gt;
      &lt;/xsd:sequence&gt;
      &lt;xsd:attribute name="status" type="tns:Status"&gt;&lt;/xsd:attribute&gt;
  &lt;/xsd:complexType&gt;
  </code></pre>
  
  <p>The type contains one element (<code>msg</code>) and one attribute (<code>status</code>). </p>
  
  <p>To communicate with the web service I use SOAPpy library. Below is a sample result return by the web service (SOAP message):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
     &lt;SOAP-ENV:Body&gt;
        &lt;SOAP-ENV:TagResponse&gt;
           &lt;parameters status="2"&gt;
              &lt;msg&gt;text&lt;/msg&gt;
           &lt;/parameters&gt;
        &lt;/SOAP-ENV:TagResponse&gt;
     &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>Python parses this message as:</p>
  
  <pre><code>&lt;SOAPpy.Types.structType parameters at 157796908&gt;: {'msg': 'text'}
  </code></pre>
  
  <p>As you can see the attribute is lost. What should I do to get the value of "<code>status</code>"?</p>