Hi, I have a simple SOAP Proxy (input is non-secured, backend is secured by UsernameToken) in Spring, using Camel CXF and I would like to implement WS-Timestamp on producer endpoint. We are using WS-SecurityPolicy to authenticate against backend. As I understand there is one option - to leverage wss4jOutInterceptor. But I would need to change the authentication from WS-SecurityPolicy to wss4j which is not desired.
Is there any easy way how to add the functionality? I haven't find anything on the official website (http://cxf.apache.org/docs/ws-securitypolicy.html). Thank you very much. cxfEndpoint for reference: <cxfEndpoint id="SendMessage1" serviceName="tns:SendMessageService" wsdlURL="classpath:/SendMessage.wsdl" address="${http.client.url}" xmlns="http://camel.apache.org/schema/blueprint/cxf" xmlns:tns="urn:send:message"> <properties> <entry key="dataFormat" value="PAYLOAD" xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" /> <entry key="ws-security.username" value="${ws-security.username}" xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" /> <entry key="ws-security.password" value="${ws-security.password}" xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" /> <entry key="ws-security.security.token.lifetime" value="60000" xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" /> </properties> <inInterceptors /> <features> <reference id="eventFeature" interface="org.talend.esb.sam.agent.feature.EventFeature" xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" /> <wsa:addressing allowDuplicates="false" xmlns:wsa="http://cxf.apache.org/ws/addressing" /> <policies xmlns="http://cxf.apache.org/policy"> <PolicyReference URI="etc/org.talend.esb.job.token.policy" xmlns="http://www.w3.org/ns/ws-policy" /> </policies> </features> <binding> <soap:soapBinding version="1.2" xmlns:soap="http://cxf.apache.org/blueprint/bindings/soap" /> </binding> </cxfEndpoint> -- View this message in context: http://camel.465427.n5.nabble.com/WS-SecurityPolicy-and-WS-Timestamp-tp5790373.html Sent from the Camel - Users mailing list archive at Nabble.com.