I'm using camel-cxf to transport messages. These messages need to be secured from end to end.
It doesn't appear that jaxws:endpoint is an option, I get an exception SoapTransportFactory.getDestination(SoapTransportFactory.java:142) Looking at the code it appears that this null pointer occurs when something besides http:// and jms:// are used. I want to use camel due to transaction support that I understand is not available in CXF 2.7.7 I have also tried using the cxf:cxfEndpoint, when the request comes across and is read from the queue and is processed PolicyBasedWSS4JInInterceptor. I don't want it to process the username/password, this needs to be left to karaf. <camelcxf:properties> <entry key="ws-security.validate.token" value="false" /> </camelcxf:properties> This property is ignored and I get an error about authentication. So my questions are as follows: 1. How can I get the policy interceptor to recognize this property. I've seen examples where it should but when I follow those examples it doesn't get noticed. 2. Can I override the policy interceptor? When I try to do this it appears that the policy interceptor is run before my interceptor can execute. Is there a way to disable the automatic execution and have it as a been in the cxf:inInterceptors section 3. I also tried to define this on the bus without success using <cxf:bus>....</cxf:bus> Any ideas are greatly appreciated.
