title: JAXB unmarshall with namespaces and prefix
body: <p>I am using JAXB to parse xml elements from the SOAP response. I have defined POJO classes for the xml elements. I have tested pojo classes without namespace and prefix its working fine .Though when i am trying to parse with namespaces and prefix facing the following exception.Requirement is to parse the input from SOAPMessage Object</p>
  
  <p><code>javax.xml.bind.UnmarshalException: unexpected element (uri:"http://schemas.xmlsoap.org/soap/envelope/", local:"Envelope"). Expected elements are &lt;{}Envelope&gt;</code></p>
  
  <p>Tried to fix by creating @XMLSchema for the package in package-info.java and located this file in package folder.Can any one guide me to move forward?</p>
  
  <p><a href="https://stackoverflow.com/questions/17483699/unmarshaling-of-soap-response-with-namespace-prefix">Referred</a> this posts but didn help me .</p>
  
  <p><strong>EDITED :XMLSchema</strong></p>
  
  <pre><code>@javax.xml.bind.annotation.XmlSchema (
      xmlns = {  @javax.xml.bind.annotation.XmlNs(prefix = "env", 
                   namespaceURI="http://schemas.xmlsoap.org/soap/envelope/"),
        @javax.xml.bind.annotation.XmlNs(prefix="ns3", namespaceURI="http://www.xxxx.com/ncp/oomr/dto/")
      }
    )
  package com.one.two;
  </code></pre>
  
  <p>Thanks in advance</p>