September 2013
Intermediate to advanced
382 pages
8h 12m
English
In use case scenarios, we may need to transfer documents, media, and other files with web services. These kinds of elements are defined with Multipurpose Internet Mail Extensions (MIME) types. The JAX-WS specification enables the Message Transmission Optimization Mechanism (MTOM) feature which enables efficient transfer of binary content via SOAP messages. This recipe explains how to use the MIME types with web services.
We will amend the example from the Creating literal and encoded web services recipe in order to complete this recipe.
To show the usage of MIME types in a web service, we will implement an additional method that enables the upload of an eBook to the book library: ...
Read now
Unlock full access