I have a SOAPMessage Object. I would like to parse and convert it into a set of Jaxb classes. How would I convert the message into a format that Jaxb can unmarshal?
jav
The body of the SOAP message contains the actual data and its the bit you want to unmarshal. You could do the following:
Node node = soapMessage.getSOAPBody(); unmarshaller.unmarshal(node)(