Chapter 9. Sending Binary Data with SOAP MTOM
9.1. Overview of MTOM
- Annotate the data that you are going to send as an attachment.You can annotate either your WSDL or the Java class that implements your data.
- Enable the runtime's MTOM support.This can be done either programmatically or through configuration.
- Develop a
DataHandlerfor the data being passed as an attachment.NoteDeveloping
DataHandlers is beyond the scope of this book.