I'm trying to extract a SOAP message from HTTP request to a REST endpoint.I'm using JAX-RS and no other libraries. Following is a sample soap request I'm planning to use
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://example.com/ns">
<soapenv:Header/>
<soapenv:Body>
<ns:request>
<ns:customer>
<ns:id>123</ns:id>
<ns:name type="NCHZ">John Brown</ns:name>
</ns:customer>
</ns:request>
</soapenv:Body>
</soapenv:Envelope>
Can you suggest me a method to do that.(I'm not allowed to use any SOAP engine)