CXF MTOM Client

CXF MTOM Client explains step by step details of  creating a MTOM Client in order to upload large attachments in SOAP based services

MTOM is used for encoding binary data in base64Binary and send as binary attachment than keeping it with actual SOAP message. MTOM is approved by WC3 and is a standard. MTOM very useful for transfering binary data such as MS documents, PDF, images etc. MTOM uses XML-binary Optimized Packaging (XOP) packages for transmitting binary data

For publishing a CXF Web MTOM Service, you need to follow CXF File Upload With SOAP MTOM.

This MTOM client is generated after the deployment of above service.

CXF File Upload With SOAP MTOM

CXF File Upload With SOAP MTOM shows Implementing a SOAP service for uploading/sending large attachment using MTOM (SOAP Message Transmission Optimization Mechanism)

MTOM is used for encoding binary data in base64Binary and send as binary attachement than keeping it with actual SOAP message. MTOM is approved by WC3 and is a standard. MTOM very useful for transfering binary data such as MS documents, PDF, images etc. MTOM uses XML-binary Optimized Packaging (XOP) packages for transmitting binary data

MTOM is used for sending large attachments using WSDL based services (SOAP).

You can go through following tutorial, in order to use MTOM inside CXF