Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

deploying JAXWS WSDL first with Spring using MTOM

Hi,
I have been successfully deploying Web services to Talend Service Factory as OSGi bundles for some time.
But I have been given a new WSDL to build a service for that I can not get to run, this WSDL uses MTOM for large binary attachments.
<xs:element name="data" ns1:expectedContentTypes="application/octet-stream" type="xs:base64Binary" minOccurs="0" xmlns:ns1=" http://www.w3.org/2005/05/xmlmime"/>
(I also tried adding the xmlmime namespace in the WSDL header, but it made no difference to the issue).
When I run the wsdl2java tool it correctly (according to MTOM docs) changes the type of the binary data from byte[] to:
@XmlMimeType("application/octet-stream")
javax.activation.DataHandler;
I deploy the web service as two separate bundles, one containing all the stub classes and one containing the service implementation and a spring beans deployment descriptor (p

To see the whole post, download it here
Labels (5)
0 Replies