Hello All,
Is there a way to convert
SOAP response to XML? I tried to use JAXB but it is giving error. I am pasting the SOAP response below. Please let me know how to convert this to XML.
SOAP Response
=============
<?xml version="1.0" encoding="utf-8"?>
<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">
<soapenv:Body>
<ns0:HelpDesk_Query_ServiceResponse xmlns:ns0="urn:HPD_IncidentInterface_WS">
<ns0:Assigned_Group>Internal Support</ns0:Assigned_Group>
<ns0:Assigned_Group_Shift_Name/>
<ns0:Assigned_Support_Company>My Company</ns0:Assigned_Support_Company>
<ns0:Assigned_Support_Organization>IT Support Organization</ns0:Assigned_Support_Organization>
<ns0:Assignee>uOrch6 uOrch6</ns0:Assignee>
<ns0:Categorization_Tier_1/>
<ns0:Categorization_Tier_2/>
<ns0:Categorization_Tier_3/>
<ns0:City>Schiphol-Rijk</ns0:City>
<ns0:Closure_Manufacturer/>
<ns0:Closure_Product_Category_Tier1/>
<ns0:Closure_Product_Category_Tier2/>
<ns0:Closure_Product_Category_Tier3/>
<ns0:Closure_Product_Model_Version/>
<ns0:Closure_Product_Name/>
<ns0:Company>My Company</ns0:Company>
<ns0:Contact_Company>My Company</ns0:Contact_Company>
<ns0:Contact_Sensitivity>Standard</ns0:Contact_Sensitivity>
<ns0:Country>Netherlands</ns0:Country>
<ns0:Department/>
<ns0:Summary>Desktop Not Working</ns0:Summary>
<ns0:Notes>Desktop Not Working</ns0:Notes>
<ns0:First_Name>ATG</ns0:First_Name>
<ns0:Impact>3-Moderate/Limited</ns0:Impact>
<ns0:Last_Name>USER</ns0:Last_Name>
<ns0:Manufacturer/>
<ns0:Middle_Initial/>
<ns0:Organization/>
<ns0:Phone_Number>###</ns0:Phone_Number>
<ns0:Priority>Medium</ns0:Priority>
<ns0:Priority_Weight>13</ns0:Priority_Weight>
<ns0:Product_Categorization_Tier_1/>
<ns0:Product_Categorization_Tier_2/>
<ns0:Product_Categorization_Tier_3/>
<ns0:Product_Model_Version/>
<ns0:Product_Name/>
<ns0:Region>EMEA</ns0:Region>
<ns0:Reported_Source/>
<ns0:Resolution/>
<ns0:Resolution_Category/>
<ns0:Resolution_Category_Tier_2/>
<ns0:Resolution_Category_Tier_3/>
<ns0:Service_Type>User Service Restoration</ns0:Service_Type>
<ns0:Site>EMEA Training Center</ns0:Site>
<ns0:Site_Group>Amsterdam Training Center</ns0:Site_Group>
<ns0:Status>Assigned</ns0:Status>
<ns0:Status_Reason/>
<ns0:Urgency>3-Medium</ns0:Urgency>
<ns0:VIP>No</ns0:VIP>
</ns0:HelpDesk_Query_ServiceResponse>
</soapenv:Body>
</soapenv:Envelope>
=========================================================
Thanks
Bhanu