Skip to main content

Using DataSource objects with JAX-WS Dispatch

Dispatch objects can use objects that implement the javax.activation.DataSource interface when the following conditions are true:

  • the Dispatch object is using the HTTP binding.

  • the Dispatch object is using message mode.

DataSource objects provide a mechanism for working with MIME typed data from a variety of sources including URLs, files, and byte arrays.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!