title: Unmarshalling to generic type in soap webservice anytype in xml
body: <p>I am using soapwebservice. I have a generic class whose attribute in xsd is</p>
  
  <pre><code>&lt;xs:element name="id" type="xs:anyType" minOccurs="0"/&gt;
  </code></pre>
  
  <p>How can I pass value to this attribute through soap UI? I am using in xml <code>&lt;id&gt;amar&lt;/id&gt;</code> which is not working properly. I am getting value null in java object populated by jaxb. </p>
  
  <p>Where am I going wrong? I want it unmarshalled as a string type. Any help is appreciated. I searched and found <a href="https://stackoverflow.com/questions/12375998/soapobject-result-returns-anytype-as-value">link</a> in stackoverflow. but even it does not give a clear insight into how to use in xml.</p>