title: How to create POJO from the web service that returns dataset(<Object> any)
body: <p>Sorry if the below is stupid question, I tried many sites to get the clear response, but since I'm a novice in web service I couldn't understand anything.</p>
  
  <p>I have been given a WSDL file that looks up the server and returns the response in below format</p>
  
  <pre><code>&lt;soap:envelop&gt;
      ...
      ..
      &lt;Aresponse&gt;
          &lt;XXXDAtaset&gt;
              &lt;xs:schema&gt;
                  &lt;xs:element&gt;
                      &lt;xs:choice&gt;
                          .....
                          .....(Elements are here)
  
                      &lt;/xs:choice&gt;
                  &lt;/xs:element&gt;
              &lt;/xs:schema&gt;
          &lt;/XXXDAtaset&gt;
          &lt;diffgr:diffgram&gt;
              &lt;dataset rows&gt;
                  -- values are here
              &lt;/dataset rows&gt;
          &lt;/diffgr:diffgram&gt;
      &lt;/Aresponse&gt;
      ..
  &lt;/soap:envelop&gt;
  </code></pre>
  
  <p>I don't have any POJO to store these values (POJO was not even created when creating client from WSDL). Initial WSDL has <code>&lt;s:any&gt;</code> for this response.</p>
  
  <p>How will I create POJO for this SOAP message? I don't know if I have to ask the WSDL provider or any JAXB tools available out there to generate the POJO for this.<br>
  I tried this link <a href="https://stackoverflow.com/questions/9080259/how-to-create-java-object-from-anytype-returned-from-service-using-jaxb">How to create java object from &#39;anyType&#39; returned from service using JAXB?</a> but there it seems they already have some POJO to store the response. In my case, I don't have one.</p>