WLS 12.1.3: Problem With SOAP Messages With @MTOM and Return Type Byte[]

(Doc ID 2160510.1)

Last updated on DECEMBER 09, 2016

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


When using a Web Service with @MTOM and a return type of byte[], the SoapResponse returns with XOP for all binary data, which is defaulting to non-MTOM JAX_WS service behavior.  

The following exception may be seen:




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