WLS 12.1.3 - Javax.activation.DataHandler Cannot Be Cast To Com.sun.xml.ws.developer.StreamingDataHandler

(Doc ID 2219474.1)

Last updated on MARCH 29, 2017

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.


 When testing MTOM feature of web services in weblogic 12.1.3  as per the sample provided in the below documentation link


Following error occurs.

 javax.activation.DataHandler cannot be cast to com.sun.xml.ws.developer.StreamingDataHandler

 The same code works fine on earlier 12.1.1 and 12.1.2 versions


 Due to changes in web service runtime in 12.1.3, issue occurs.


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