Oracle Glassfish Server - Metro Web Service MTOM Binding Not Applied If SOAPHandler Used
Last updated on APRIL 18, 2018
Applies to:Oracle GlassFish Server - Version 2.1.1 and later
Information in this document applies to any platform.
On GlassFish 2.1.x version and related Metro Web Services Stack 1.6.x - 2.1.x, when using Web services MTOM with SOAP HandlerChain, the MTOM attachment is replaced with an inline Base64 inside the SOAP body. There is no MTOM attachment once the HandlerChain is used. Here a simple Web Service snippet where MTOM and HandlerChain are used.
Just adding a SOAP HandlerChain will cause the payload no longer apply MTOM optimizations.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms