Hi, this is the stacktrace:
Call Web Service Operation...
21.10.2011 8:12:10
org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl
handleNoRegisteredBuilder
WARNING: No assertion builder for type
{http://schemas.xmlsoap.org/ws/2004/10/wsat}ATAssertion registered.
21.10.2011 8:12:12 org.apache.cxf.ws.rm.Proxy invoke
INFO: Sending out-of-band RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
21.10.2011 8:12:13 org.apache.cxf.ws.rm.Proxy invoke
INFO: Sending out-of-band RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
21.10.2011 8:12:14 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for
{http://schemas.xmlsoap.org/ws/2005/02/rm/wsdl}SequenceAbstractService#{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: No encryption crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:378)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.handleBinding(SymmetricBindingHandler.java:119)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:161)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:88)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:586)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:481)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:159)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:69)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:44)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
at $Proxy48.getSendLDocSchema(Unknown Source)
at
com.webiexchange.archive.EArchive.TestService.main(TestService.java:113)
Caused by: org.apache.cxf.ws.policy.PolicyException: No encryption
crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.policyNotAsserted(AbstractBindingBuilder.java:298)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.setEncryptionUser(AbstractBindingBuilder.java:1396)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.getEncryptedKeyBuilder(AbstractBindingBuilder.java:1249)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.setupEncryptedKey(SymmetricBindingHandler.java:798)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:280)
... 40 more
21.10.2011 8:12:14 org.apache.cxf.ws.rm.Proxy invoke
SEVERE: Failed to send RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
org.apache.cxf.interceptor.Fault: No encryption crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:378)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.handleBinding(SymmetricBindingHandler.java:119)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:161)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:88)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:586)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:481)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:159)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:69)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:44)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
at $Proxy48.getSendLDocSchema(Unknown Source)
at
com.webiexchange.archive.EArchive.TestService.main(TestService.java:113)
Caused by: org.apache.cxf.ws.policy.PolicyException: No encryption
crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.policyNotAsserted(AbstractBindingBuilder.java:298)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.setEncryptionUser(AbstractBindingBuilder.java:1396)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.getEncryptedKeyBuilder(AbstractBindingBuilder.java:1249)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.setupEncryptedKey(SymmetricBindingHandler.java:798)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:280)
... 40 more
21.10.2011 8:12:14 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for
{http://schemas.xmlsoap.org/ws/2005/02/trust/wsdl}SecurityTokenService#{http://schemas.xmlsoap.org/ws/2005/02/trust/wsdl}RequestSecurityToken
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Failed to send RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:102)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:586)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:481)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:159)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:69)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:44)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
at $Proxy48.getSendLDocSchema(Unknown Source)
at
com.webiexchange.archive.EArchive.TestService.main(TestService.java:113)
Caused by: org.apache.cxf.ws.rm.RMException: Failed to send RM
protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:275)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
... 28 more
Caused by: org.apache.cxf.interceptor.Fault: No encryption crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:378)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.handleBinding(SymmetricBindingHandler.java:119)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:161)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:88)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
... 32 more
Caused by: org.apache.cxf.ws.policy.PolicyException: No encryption
crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.policyNotAsserted(AbstractBindingBuilder.java:298)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.setEncryptionUser(AbstractBindingBuilder.java:1396)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.getEncryptedKeyBuilder(AbstractBindingBuilder.java:1249)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.setupEncryptedKey(SymmetricBindingHandler.java:798)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:280)
... 40 more
21.10.2011 8:12:14 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for
{http://schemas.xmlsoap.org/ws/2005/02/rm/wsdl}SequenceAbstractService#{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Failed to send RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:102)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:586)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:481)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:159)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:69)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:44)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
at $Proxy48.getSendLDocSchema(Unknown Source)
at
com.webiexchange.archive.EArchive.TestService.main(TestService.java:113)
Caused by: org.apache.cxf.ws.rm.RMException: Failed to send RM
protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:275)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
... 28 more
Caused by: org.apache.cxf.interceptor.Fault: No encryption crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:378)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.handleBinding(SymmetricBindingHandler.java:119)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:161)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:88)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
... 32 more
Caused by: org.apache.cxf.ws.policy.PolicyException: No encryption
crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.policyNotAsserted(AbstractBindingBuilder.java:298)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.setEncryptionUser(AbstractBindingBuilder.java:1396)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.getEncryptedKeyBuilder(AbstractBindingBuilder.java:1249)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.setupEncryptedKey(SymmetricBindingHandler.java:798)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:280)
... 40 more
21.10.2011 8:12:14 org.apache.cxf.ws.rm.Proxy invoke
SEVERE: Failed to send RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
org.apache.cxf.interceptor.Fault: Failed to send RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:102)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:586)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:481)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:159)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:69)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:44)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
at $Proxy48.getSendLDocSchema(Unknown Source)
at
com.webiexchange.archive.EArchive.TestService.main(TestService.java:113)
Caused by: org.apache.cxf.ws.rm.RMException: Failed to send RM
protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:275)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
... 28 more
Caused by: org.apache.cxf.interceptor.Fault: No encryption crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:378)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.handleBinding(SymmetricBindingHandler.java:119)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:161)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:88)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
... 32 more
Caused by: org.apache.cxf.ws.policy.PolicyException: No encryption
crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.policyNotAsserted(AbstractBindingBuilder.java:298)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.setEncryptionUser(AbstractBindingBuilder.java:1396)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.getEncryptedKeyBuilder(AbstractBindingBuilder.java:1249)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.setupEncryptedKey(SymmetricBindingHandler.java:798)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:280)
... 40 more
21.10.2011 8:12:14 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for
{http://tempuri.org/}EArchiveService#{http://earchive.gama-system.com/services}GetSendLDocSchema
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Failed to send RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:102)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
at $Proxy48.getSendLDocSchema(Unknown Source)
at
com.webiexchange.archive.EArchive.TestService.main(TestService.java:113)
Caused by: org.apache.cxf.ws.rm.RMException: Failed to send RM
protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:275)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
... 9 more
Caused by: org.apache.cxf.interceptor.Fault: Failed to send RM
protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:102)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:586)
at
org.apache.cxf.ws.security.trust.STSClient.requestSecurityToken(STSClient.java:481)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.issueToken(SecureConversationOutInterceptor.java:159)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:69)
at
org.apache.cxf.ws.security.policy.interceptors.SecureConversationOutInterceptor.handleMessage(SecureConversationOutInterceptor.java:44)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
... 13 more
Caused by: org.apache.cxf.ws.rm.RMException: Failed to send RM
protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:275)
at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:163)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:351)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:130)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:82)
... 28 more
Caused by: org.apache.cxf.interceptor.Fault: No encryption crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:378)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.handleBinding(SymmetricBindingHandler.java:119)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:161)
at
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JOutInterceptor$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(PolicyBasedWSS4JOutInterceptor.java:88)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:375)
at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:265)
... 32 more
Caused by: org.apache.cxf.ws.policy.PolicyException: No encryption
crypto object found.
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.policyNotAsserted(AbstractBindingBuilder.java:298)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.setEncryptionUser(AbstractBindingBuilder.java:1396)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractBindingBuilder.getEncryptedKeyBuilder(AbstractBindingBuilder.java:1249)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.setupEncryptedKey(SymmetricBindingHandler.java:798)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.SymmetricBindingHandler.doSignBeforeEncrypt(SymmetricBindingHandler.java:280)
... 40 more
2011/10/20 Colm O hEigeartaigh <[email protected]>:
> What's the stacktrace of the exception?
>
> Colm.
>
> 2011/10/20 Tomaž Rotovnik <[email protected]>:
>> Hi
>>
>> I would like to create WS client to consume a .Net web service as
>> defined in WSDL:
>>
>> http://webservices.gama-system.com/earchive/ServiceA3.svc?wsdl which
>> includes inport statement ->
>> http://webservices.gama-system.com/earchive/ServiceA3.svc?wsdl=wsdl1
>>
>> I think I made some mistake defining WS-security policies and
>> TIMESTAMP-ing action, but unfortunately I still get the error:
>> org.apache.cxf.ws.policy.PolicyException: No encryption crypto object
>> found
>>
>> I implemented WS-client with metro library and it worked, but I can't
>> get it to work with CFX library.
>>
>> I would be very grateful if someone could give me some hint.
>>
>> Best regards
>>
>> Tomaz
>>
>>
>> My client.java code look like this:
>>
>> ...
>> System.out.println("Create Web Service Client...");
>> new SpringBusFactory().createBus("META-INF/cxf.xml");
>> EArchiveService ss = new EArchiveService();
>> IEArchive port = ss.getEArchiveSecureReliableIEArchive(new
>> AddressingFeature());
>>
>> Client client = ClientProxy.getClient(port);
>> Endpoint cxfEndpoint = client.getEndpoint();
>> Map<String,Object> outProps = new HashMap<String,Object>();
>> outProps.put(WSHandlerConstants.ACTION,
>> WSHandlerConstants.TIMESTAMP);
>> WSS4JOutInterceptor wssOut = new WSS4JOutInterceptor(outProps);
>> cxfEndpoint.getOutInterceptors().add(wssOut);
>>
>> System.out.println("Call Web Service Operation...");
>> System.out.println("Server said: " + port.isRunning());
>> ...
>>
>> AND cxf.xml file look like this:
>>
>> <beans xmlns="http://www.springframework.org/schema/beans"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:cxf="http://cxf.apache.org/core"
>> xmlns:wsa="http://cxf.apache.org/ws/addressing"
>> xmlns:http="http://cxf.apache.org/transports/http/configuration"
>> xmlns:jaxws="http://cxf.apache.org/jaxws"
>> xmlns:p="http://cxf.apache.org/policy"
>> xmlns:sec="http://cxf.apache.org/configuration/security"
>> xmlns:wsrm-policy="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"
>> xmlns:wsrm-mgr="http://cxf.apache.org/ws/rm/manager"
>> xsi:schemaLocation="http://cxf.apache.org/core
>> http://cxf.apache.org/schemas/core.xsd
>> http://cxf.apache.org/transports/http/configuration
>> http://cxf.apache.org/schemas/configuration/http-conf.xsd
>> http://schemas.xmlsoap.org/ws/2005/02/rm/policy
>> http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd
>> http://cxf.apache.org/ws/rm/manager
>> http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd
>> http://www.springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans.xsd
>> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
>> http://cxf.apache.org/configuration/security
>> http://cxf.apache.org/schemas/configuration/security.xsd
>> http://cxf.apache.org/policy
>> http://cxf.apache.org/schemas/policy.xsd">
>> <cxf:bus>
>> <cxf:features>
>> <p:policies/>
>> <cxf:logging/>
>> <wsa:addressing/>
>> <wsrm-mgr:reliableMessaging>
>> <wsrm-policy:RMAssertion>
>> <wsrm-policy:BaseRetransmissionInterval
>> Milliseconds="4000"/>
>> <wsrm-policy:AcknowledgementInterval Milliseconds="2000"/>
>> </wsrm-policy:RMAssertion>
>> <wsrm-mgr:destinationPolicy>
>> <wsrm-mgr:acksPolicy intraMessageThreshold="0" />
>> </wsrm-mgr:destinationPolicy>
>> </wsrm-mgr:reliableMessaging>
>> </cxf:features>
>> </cxf:bus>
>>
>> <http:conduit
>> name="{http://tempuri.org/}EArchiveSecureReliable_IEArchive.http-conduit">
>> <http:tlsClientParameters disableCNCheck="true">
>> <sec:keyManagers keyPassword="pass">
>> <sec:keyStore type="JKS" password="pass"
>> file="META-INF/private.jks"/>
>> </sec:keyManagers>
>> <sec:trustManagers>
>> <sec:keyStore type="JKS" password="pass"
>> file="META-INF/test.jks"/>
>> </sec:trustManagers>
>> </http:tlsClientParameters>
>> <http:client AllowChunking="false"/>
>> </http:conduit>
>>
>> </beans>
>>
>
>
>
> --
> Colm O hEigeartaigh
>
> http://coheigea.blogspot.com/
> Talend - http://www.talend.com/apache
>