On Friday, February 03, 2012 7:46:30 AM Jens wrote:
> Hi,
> 
> does CXF (2.5.2) still support SwA?

It should be working.   We have tests for it and the JAX-WS TCK requires it.

Some of our tests are at:
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxws/src/test/java/org/apache/cxf/systest/swa/


Any chance of getting a test case?

Dan


 
> I'm asking because I have a WSDL with SwA enabled, I generated classes from
> that with enableMIMEContent=true (so I get a DataHandler in my interface),
> but when I send a message, the attachment part is included as a second XML
> element in the message body instead of as an attachment. Is there anything
> else that needs to be done to enable SwA? My understanding from the
> documentation was that it's the default.
> 
> WSDL extract:
> 
>       <wsdl:input
>           name="uebernehmeDokumenteRequest">
> 
>         <mime:multipartRelated>
>           <mime:part name="bodyPart">
>             <soap:body use="literal"/>
>           </mime:part>
>           <mime:part name="anhang1">
>             <mime:content part="anhang1" type="text/plain"/>
>           </mime:part>
>         </mime:multipartRelated>
>       </wsdl:input>
> 
> I can't use MTOM because I need to talk to an existing service.
> 
> Thanks,
> Jens
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/SOAP-w-Attachments-still-supported-tp545422
> 0p5454220.html Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to