This feature represents the use of MTOM with a web service. This feature can be used during the creation of SEI proxy, and {@link javax.xml.ws.Dispatch} instances on the client side and {@link Endpoint}instances on the server side. This feature cannot be used for {@link Service}instance creation on the client side.
The following describes the affects of this feature with respect to being enabled or disabled:
ENABLED: In this Mode, MTOM will be enabled. A receiver MUST accept both a non-optimized and an optimized message, and a sender MAY send an optimized message, or a non-optimized message. The heuristics used by a sender to determine whether to use optimization or not are implementation-specific.
DISABLED: In this Mode, MTOM will be disabled
The {@link #threshold} property can be used to set the thresholdvalue used to determine when binary data should be XOP encoded.
@since JAX-WS 2.1
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.