You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/10/07 09:30:53 UTC

[jira] Updated: (SM-1232) Mtom not working correctly with cxf-bc provider

     [ https://issues.apache.org/activemq/browse/SM-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-1232:
--------------------------------

    Fix Version/s: servicemix-cxf-bc-2008.01

> Mtom not working correctly with cxf-bc provider
> -----------------------------------------------
>
>                 Key: SM-1232
>                 URL: https://issues.apache.org/activemq/browse/SM-1232
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.2, 3.3, servicemix-cxf-bc-2008.01
>
>         Attachments: CxfBcProvider.java, JbiOutInterceptor.java
>
>
> Hi,
> I'm using the CXF BC as output component, but I'm not able to send out
> MTOM requests.
> My SA is composed of 2 binding components, both CXF: with the input I
> dont have problems and I receive an MTOM request.
> With the output BC I have the problem that in output the message sent is
> SOAP, not MTOM, and the attachment is missing.
> I saw that there are a lot of Interceptors, I used the following
> (directly from code, actually) :
>        outList.add(new MtomCheckInterceptor(true));
>        outList.add(new AttachmentOutInterceptor());
>        outList.add(new JbiOutWsdl1Interceptor());
>        outList.add(new SoapPreProtocolOutInterceptor());
>        outList.add(new SoapOutInterceptor(getBus()));
> I changed also my WSDL adding the attribute xmime:expectedContentTypes
> on the binary documents, as stated on the CXF documentation.
> Any suggestion ?
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.