The high-level JAX-WS APIs shield the developer from using native XML messages by marshaling the data into JAXB objects.
However, there are cases when it is better to have direct access to the raw XML message data that is passing on the wire. The
JAX-WS APIs provide two interfaces that provide access to the raw XML: the Dispatch
interface is
the client-side interface, and the Provider
interface is the server-side interface.