Using SOAPMessage objects with JAX-WS Dispatch
Dispatch objects can use javax.xml.soap.SOAPMessage objects when the following conditions are true:
-
the Dispatch object is using the SOAP binding.
-
the Dispatch object is using message mode.