Hi I have an XML SOAP response which starts with the following XML:
- <?xml version="1.0" encoding="UTF-8"?>
-
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
<soap:Body>
-
<GetAppXmlResponse xmlns="http://***.***.gov.uk/***">
-
<GetAppXmlResult>
-
<Connector timestamp="9/26/2008 10:46:26 AM" xmlns="">
-
<code>0</code>
-
<message>Success</message>
-
<getappxml>
-
<![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
<Proposal>
-
<SchemaVersion>1.1</SchemaVersion>
-
<ApplicationHeader>Sample Header</ApplicationHeader>
-
-
//further nodes and elements
-
-
</Proposal>
-
]]>
-
</getappxml>
-
</Connector>
-
</GetAppXmlResult>
-
</GetAppXmlResponse>
-
</soap:Body>
-
</soap:Envelope>
Could somebody please explain to me how I access the Proposal node in java, so that I can create a new SOAP message out of it