My Oracle Support Banner

Oracle Glassfish Server - Metro Web Service MTOM Binding Not Applied If SOAPHandler Used (Doc ID 1564925.1)

Last updated on FEBRUARY 22, 2024

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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.