cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunil Bapat <suba...@gmail.com>
Subject CXF 2.6.1 XMLCipher exception
Date Sun, 10 Jun 2012 12:03:21 GMT
Using CXF 2.6.1, I am getting the following exception when trying to
make a web service call to an STS with asymmetric binding. I am using
the CXF STS client, which is calling a CXF STS. My maven project pulls
in include xmlsec-1.5.2. Anything else I am missing?

Servlet.service() for servlet CXFServlet threw exception:
java.lang.NoSuchMethodError:
org.apache.xml.security.encryption.XMLCipher.setSecureValidation(Z)V
	at org.apache.ws.security.processor.ReferenceListProcessor.decryptEncryptedData(ReferenceListProcessor.java:290)
[wss4j-1.6.6.jar:1.6.6]
	at org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:365)
[wss4j-1.6.6.jar:1.6.6]
	at org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRefs(EncryptedKeyProcessor.java:324)
[wss4j-1.6.6.jar:1.6.6]
	at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:137)
[wss4j-1.6.6.jar:1.6.6]
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:396)
[wss4j-1.6.6.jar:1.6.6]
	at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:289)
[cxf-rt-ws-security-2.6.1.jar:2.6.1]
	at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:97)
[cxf-rt-ws-security-2.6.1.jar:2.6.1]
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
[cxf-api-2.6.1.jar:2.6.1]
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122)
[cxf-api-2.6.1.jar:2.6.1]
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
[cxf-rt-transports-http-2.6.1.jar:2.6.1]
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
[cxf-rt-transports-http-2.6.1.jar:2.6.1]

Thanks
Sunil.

Mime
View raw message