Hi


I'm a little bit confused with configuring cxf-provider with SSL encryption.
In my servicemix there is a very simple proxy :

<cxfbc:consumer wsdl="classpath:MyService.wsdl"
                    targetEndpoint="HealthIndicatorImplPort"
                    targetService="mynamespace:MyService"
                    targetInterface="mynamespace:HealthIndicatorImplPort"
                    endpoint="HealthIndicatorImplPortEndpoint"
                    service="mynamespace:MyService"
                    locationURI="http://0.0.0.0:8190/robust/MyService/";>


</cxfbc:consumer>


<cxfbc:provider wsdl="classpath:MyService.wsdl"
                    locationURI="https://my.service.com/MyService";
                    interfaceName="mynamespace:HealthIndicatorImplPort2"
                    service="mynamespace:MyService"
                    endpoint="HealthIndicatorImplPort">

</cxfbc:provider>

The ws mentioned in cxf:bcprovider has changed and now it just support SSL encryption.
The cert was imported into created jks file.

I want to leave the cxf-consumer without ssl and accept the cert just for provider - I don't want the smx client see any changes in API.

Where and how I should configure the provider? With busCfg or in cxf.xml? And how? I've read many examples, blogs documentations but it isn't working for me - probably I'm doing something wrong or I don't understand how it should work...


Please help me :)

Thanks in advance.


regards


rafal










Reply via email to