Is this for the CXF request or processing the response? What does the message look like?
Colm. On Mon, Nov 24, 2014 at 9:52 AM, tobee <lukasz.tob...@gmail.com> wrote: > result of run on 1.7 without BC and with JCE installed > Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: These > policy alternatives can not be satisfied: > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638) > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}SymmetricBinding: > The > signature is not protected > at > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}ProtectionToken > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}RequireDerivedKeys > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516) > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}EncryptSignature > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:160) > at com.sun.proxy.$Proxy42.getData(Unknown Source) > at cxf.Cxf.main(Cxf.java:74) > Caused by: org.apache.cxf.ws.policy.PolicyException: These policy > alternatives can not be satisfied: > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}SymmetricBinding: > The > signature is not protected > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}ProtectionToken > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}RequireDerivedKeys > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) > at > > org.apache.cxf.ws.security.trust.AbstractSTSClient.issue(AbstractSTSClient.java:837) > {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}EncryptSignature > at > > org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:62) > at > > org.apache.cxf.ws.policy.AssertionInfoMap.checkEffectivePolicy(AssertionInfoMap.java:179) > at > > org.apache.cxf.ws.policy.PolicyVerificationInInterceptor.handle(PolicyVerificationInInterceptor.java:102) > at > > org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:56) > at > > org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:52) > at > > org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:197) > at > > org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:44) > at > > org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:78) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) > at > > org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:48) > at > org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:802) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516) > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1638) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425) > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1527) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1330) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > at > > org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:138) > at > org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:215) > at com.sun.proxy.$Proxy42.getData(Unknown Source) > at > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) > at cxf.Cxf.main(Cxf.java:74) > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638) > at > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) > at > > org.apache.cxf.ws.security.trust.AbstractSTSClient.issue(AbstractSTSClient.java:837) > at > > org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:62) > at > > org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:56) > at > > org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:52) > at > > org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:197) > at > > org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:78) > at > > org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:48) > at > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:138) > > Regards > Lucas > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/possible-wss4j-bug-tp5750539p5751366.html > Sent from the cxf-user mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com