Hi,

You needn't specify it in cxf bc endpint configuration. Cxf bc should support both of it by default. Cxf bc will parse the wsdl you provided and create service model accordingly, extract soap version from your wsdl binding part.

Best Regards

Freeman


Florent wrote:
Hello,

I'm trying to expose a third party webservice to the bus, using cxf.

I'd like to know if i can set the soap version. For example, when i was
using service-http, there was a SoapVersion attribute, but i didn't find one
for the servicemix-cxf-bc-3.2-schema.

Is soap 1.1 or 1.2 used?

Here is my xbean.xml :

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0";
       xmlns:ns1="http://ejb.proto.mycompany.com";>
<cxfbc:consumer wsdl="classpath:ProtoBean.wsdl" endpoint="ProtoBeanPort" targetEndpoint="ProtoBean" targetService="ns1:ProtoBeanService" targetInterface="ns1:ProtoBean" > </cxfbc:consumer> <cxfbc:provider wsdl="classpath:ProtoBean.wsdl" locationURI="http://localhost:9080/PROTOServiceMixWeb/services/ProtoBean"; service="ns1:ProtoBeanService" endpoint="ProtoBean" interfaceName="ns1:ProtoBean" > </cxfbc:provider>

</beans>

Reply via email to