Unmarshalling soap response to java object
<p>Below is the SOAP Response that need to convert to Java Objects</p>

<pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;soapenv:Body&gt;
    &lt;ns0:HelpDesk_Query_ServiceResponse xmlns:ns0="urn:XXXX_HPD_IncidentInterface_WS__XXXXX" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;ns0:Assigned_Group&gt;TIM-CSDWINDOWS-ADMIN&lt;/ns0:Assigned_Group&gt;
        &lt;ns0:Assigned_Group_Shift_Name/&gt;
        &lt;ns0:Assigned_Support_Company&gt;India  Ltd&lt;/ns0:Assigned_Support_Company&gt;
        &lt;ns0:Assigned_Support_Organization&gt;TIM-CSD&lt;/ns0:Assigned_Support_Organization&gt;
        &lt;ns0:Assignee&gt;Akshay Patwardhan&lt;/ns0:Assignee&gt;
        &lt;ns0:Categorization_Tier_1&gt;TIM&lt;/ns0:Categorization_Tier_1&gt;
        &lt;ns0:Categorization_Tier_2&gt;ATT&lt;/ns0:Categorization_Tier_2&gt;
        &lt;ns0:Categorization_Tier_3&gt;C Drive Enablement&lt;/ns0:Categorization_Tier_3&gt;
        &lt;ns0:City&gt;HYDERABAD&lt;/ns0:City&gt;
        &lt;ns0:Closure_Manufacturer/&gt;
        &lt;ns0:Closure_Product_Category_Tier1/&gt;
        &lt;ns0:Closure_Product_Category_Tier2/&gt;
        &lt;ns0:Closure_Product_Category_Tier3/&gt;
        &lt;ns0:Closure_Product_Model_Version/&gt;
        &lt;ns0:Closure_Product_Name/&gt;
        &lt;ns0:Company&gt;India  Ltd&lt;/ns0:Company&gt;
        &lt;ns0:Contact_Company&gt;India  Ltd&lt;/ns0:Contact_Company&gt;
        &lt;ns0:Contact_Sensitivity&gt;Standard&lt;/ns0:Contact_Sensitivity&gt;
        &lt;ns0:Country&gt;India&lt;/ns0:Country&gt;
        &lt;ns0:Department&gt;TIM-India &lt;/ns0:Department&gt;
        &lt;ns0:Summary&gt;Test&lt;/ns0:Summary&gt;
        &lt;ns0:Notes&gt;Host Name: INHYTZPC03456 Detailed Business Justification: test Project/ODC Name: TIM Your Current Location Details: &lt;/ns0:Notes&gt;
        &lt;ns0:First_Name&gt;Venkata&lt;/ns0:First_Name&gt;
        &lt;ns0:Impact&gt;4-Minor/Localized&lt;/ns0:Impact&gt;
        &lt;ns0:Last_Name&gt;Sabbarapu&lt;/ns0:Last_Name&gt;
        &lt;ns0:Manufacturer/&gt;
        &lt;ns0:Middle_Initial/&gt;
        &lt;ns0:Organization&gt;XXX_TIM&lt;/ns0:Organization&gt;
        &lt;ns0:Phone_Number&gt;XXXXXX Extn: 67 -XXXXXX&lt;/ns0:Phone_Number&gt;
        &lt;ns0:Priority&gt;Medium&lt;/ns0:Priority&gt;
        &lt;ns0:Priority_Weight&gt;10&lt;/ns0:Priority_Weight&gt;
        &lt;ns0:Product_Categorization_Tier_1/&gt;
        &lt;ns0:Product_Categorization_Tier_2/&gt;
        &lt;ns0:Product_Categorization_Tier_3/&gt;
        &lt;ns0:Product_Model_Version/&gt;
        &lt;ns0:Product_Name/&gt;
        &lt;ns0:Region&gt;India&lt;/ns0:Region&gt;
        &lt;ns0:Reported_Source&gt;Self Service&lt;/ns0:Reported_Source&gt;
        &lt;ns0:Resolution/&gt;
        &lt;ns0:Resolution_Category/&gt;
        &lt;ns0:Resolution_Category_Tier_2/&gt;
        &lt;ns0:Resolution_Category_Tier_3/&gt;
        &lt;ns0:Service_Type&gt;User Service Request&lt;/ns0:Service_Type&gt;
        &lt;ns0:Site&gt;BHD-SEZ&lt;/ns0:Site&gt;
        &lt;ns0:Site_Group&gt;HYDERABAD&lt;/ns0:Site_Group&gt;
        &lt;ns0:Status&gt;Assigned&lt;/ns0:Status&gt;
        &lt;ns0:Status_Reason xsi:nil="true" /&gt;
        &lt;ns0:Urgency&gt;3-Medium&lt;/ns0:Urgency&gt;
        &lt;ns0:VIP&gt;No&lt;/ns0:VIP&gt;
        &lt;ns0:ServiceCI/&gt;
        &lt;ns0:ServiceCI_ReconID/&gt;
        &lt;ns0:HPD_CI/&gt;
        &lt;ns0:HPD_CI_ReconID/&gt;
        &lt;ns0:HPD_CI_FormName/&gt;
        &lt;ns0:z1D_CI_FormName/&gt;
    &lt;/ns0:HelpDesk_Query_ServiceResponse&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
</code></pre>

<p>This is my pojo</p>

<pre><code>@XmlAccessorType(XmlAccessType.FIELD)
public class Response {

String Assigned_Group;
String Assigned_Group_Shift_Name;
String Assigned_Support_Company;
String Assigned_Support_Organization;
String Assignee;
String Categorization_Tier_1;
String Categorization_Tier_2;
String Categorization_Tier_3;
String City;
public String getAssigned_Group() {
    return Assigned_Group;
}
public void setAssigned_Group(String assigned_Group) {
    Assigned_Group = assigned_Group;
}
public String getAssigned_Group_Shift_Name() {
    return Assigned_Group_Shift_Name;
}
public void setAssigned_Group_Shift_Name(String assigned_Group_Shift_Name) {
    Assigned_Group_Shift_Name = assigned_Group_Shift_Name;
}
public String getAssigned_Support_Company() {
    return Assigned_Support_Company;
}
</code></pre>

<p>This is UnMarshall code</p>

<pre><code>    Unmarshaller unmarshaller = JAXBContext.newInstance(Response.class).createUnmarshaller();
    Document bodyDoc = soapResponse.getSOAPBody().extractContentAsDocument();
    Response request = (Response) unmarshaller.unmarshal(bodyDoc);
</code></pre>

<p>its giving javax.xml.bind.UnmarshalException.
Can some help me in creating Java POJO and UnMarshall the above soap XML response to java Object.</p>