Hi on both endpoint i 've set mtomEnabled=true but issue is still the same.
Only the proxied webservice is a multipart WS.
CxfSe component seems to send a wrong jbi message to cxf bc proxied
endpoint.
Instead of sending a jbi attachement for my fileattach element, coponent is
sending element in jbi body message.

Thanks for help.

Here my configuration

...
<cxfbc:provider mtomEnabled="true"  wsdl="classpath:service.wsdl"
                      locationURI="http://localhost:8080/test";
                      service="test:HelloOUTService"
                      endpoint="soap"
                        />

.....
<cxfse:endpoint mtomEnabled="true"  >
        <cxfse:pojo>
          <bean class="org.apache.servicemix.test.HelloIn" >
                <property name="myHelloOUT">
                        <cxfse:proxy  service="test:HelloOUTService" 
endpoint="soap"
context="#context" type="org.apache.servicemix.test.HelloOUT" />
                </property>
          </bean>
...

Helloout WSDL
 <wsdl:binding name="HelloOUTSOAPBinding" type="tns:HelloOUT">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"; />
                <wsdl:operation name="SayHelloOUT">
                        <wsdl:input>
                                <mime:multipartRelated>
                                        <mime:part>
                                                <soap:body parts="request" 
use="literal" />
                                </mime:part>
                                <mime:part>
                                                <mime:content part="fileattach" 
type="text/xml"/>
                                </mime:part>
                                </mime:multipartRelated>

                        </wsdl:input>
                        <wsdl:output>
                                <soap:body use="literal" />
                        </wsdl:output>
                        <wsdl:fault name="UnknownWord">
                                <soap:fault use="literal" name="UnknownWord" />
                        </wsdl:fault>
       </wsdl:operation>
</wsdl:binding>

<wsdl:service name="HelloOUTService">
        <wsdl:port binding="tns:HelloOUTSOAPBinding" name="soap">
           <soap:address location="http://localhost:8080/HelloOUTService/";
/>
       </wsdl:port>
</wsdl:service>
-- 
View this message in context: 
http://www.nabble.com/Issue-Ussing-Service-Mix-CXF-component-with-multipart-WSDL-tp23428472p23498073.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to