Hi All,
We know that JAX-WS runtime would handle the marshalling of entire
SOAP request and response for us. But should we want to marshall the entire SOAP request including Envelope, Header and Body how do we do that. I know, we can do the unmarshalling for Body entries as we may know the xsd and we can generate the binding classes. But In order to unmarshall the entire SOAP message do we need to create binding objects for each of the schemas for the namespace
http://schemas.xmlsoap.org/soap/envelope and any other schemas associated with header entries etc.
I see an
example, where SOAPMessage is accessed using Provider<SOAPMessage> but this is not usin JAXB I believe. So, is there any way, JAXB can be used to access the entire SOAPMessage, instead of just the Payload. Any example would be helpful.