java - How to parse soap response message? -
I want to parse the following XML snippet: Can anyone help me in this I understand the elements and all I'm not able to retrieve and just retrieve the bus and employee ID nodes and its values
& lt; Soapenv: envelope xmlns: soapenv = "http://schemas.xxx/Yyy" xmlns: idi = "http: // xxxx /" & gt; & Lt; Soapenv: header / & gt; & Lt; Soapenv: body & gt; & Lt; Idi: Retrieve & gt; & Lt; RequestXML & gt; & Lt; CUSTOMERNUMBER & gt; 111 & lt; / CUSTOMERNUMBER & gt; & Lt; EmployeeID & gt; 222 & lt; / EmployeeID & gt; & Lt; / RequestXML & gt; & Lt; / Idi: Retrieve & gt; & Lt; / Soapenv: Body & gt; & Lt; / Soapenv: envelope & gt; Please look at the XML above and give some pointers to parse it. You should use a framework that should be made to create and parsing an object model model from WSDL.
- Axis 2
- JADS < / Li>
- Jx-RPC
Choose one and use it.
Comments
Post a Comment