I defined a WSDL with a request with an attachement <xsd:element
name="UploadedZippedCsvFile" type="xsd:base64Binary"
xmime:expectedContentTypes="application/zip"/>  with namespace
xmlns:xmime="http://www.w3.org/2005/05/xmlmime"; 

CXF/JAXB generates this into a DataHandler for this element. The JAXWS
properties have "mtom-enabled" to "true". 
With for example SOAPUI i send a request with attachement
<UploadedZippedCsvFile>cid:1205859071240</UploadedZippedCsvFile> with
the mime attachement below the XML, this works fine.

However... When using the same element in the response, CXF wraps the
cid:xxxx string into a <xop> element. The response XML doesn't even
validate!

How do i correct this?

Greetings,
Marcel Heemskerk




=== ( sorry for previous unfinished message ) ===

Reply via email to