What do I have to put in the XJC external binding file such that it generates the DataHandler type from a XSD type base64Binary when MTOM is enabled in WSDL?
According to the CXF doc (enter link description here) it can be enabled by adding "xmime:expectedContentTypes="application/octet-stream" as an attribute to the XSD element of type base64Binary. XJC will then generate the DataHandler type. BTW: I am not completely sure if this is a specific XJC feature or CXF wsdl2java feature.
How can I realize the same generation of the DataHandler type by external configuration?, as the WSDL file isn't mine and can't be changed. I am familiar with the XJC binding file and use it for customization, but don't know how to use this to indicate the MTOM usage.