org.apache.cxf.binding.soap.SoapFault: A security error was encountered when verifying the message at org.apache.cxf.ws.security.wss4j.WSS4JUtils.create SoapFault(WSS4JUtils.java:216) at org.apache.cxf.ws.security.wss4j.WSS4JInIntercepto r.handleMessageInternal(WSS4JInInterceptor.java:32 9) at org.apache.cxf.ws.security.wss4j.WSS4JInIntercepto r.handleMessage(WSS4JInInterceptor.java:184) at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JI nInterceptor.handleMessage(PolicyBasedWSS4JInInter ceptor.java:79) at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JI nInterceptor.handleMessage(PolicyBasedWSS4JInInter ceptor.java:66) at org.apache.cxf.phase.PhaseInterceptorChain.doInter cept(PhaseInterceptorChain.java:308) at org.apache.cxf.transport.ChainInitiationObserver.o nMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestinat ion.invoke(AbstractHTTPDestination.java:251) at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleH ttpRequest(RequestHandlerImpl.java:108) at org.jboss.wsf.stack.cxf.transport.ServletHelper.ca llRequestHandler(ServletHelper.java:134) at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFSe rvletExt.java:88) at org.apache.cxf.transport.servlet.AbstractHTTPServl et.handleRequest(AbstractHTTPServlet.java:293) at org.apache.cxf.transport.servlet.AbstractHTTPServl et.doPost(AbstractHTTPServlet.java:212) at javax.servlet.http.HttpServlet.service(HttpServlet .java:707) at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFS ervletExt.java:136) at org.jboss.wsf.spi.deployment.WSFServlet.service(WS FServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet .java:790) at io.undertow.servlet.handlers.ServletHandler.handle Request(ServletHandler.java:85) at io.undertow.servlet.handlers.security.ServletSecur ityRoleHandler.handleRequest(ServletSecurityRoleHa ndler.java:62) at io.undertow.servlet.handlers.ServletDispatchingHan dler.handleRequest(ServletDispatchingHandler.java: 36) at org.wildfly.extension.undertow.security.SecurityCo ntextAssociationHandler.handleRequest(SecurityCont extAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.security.SSLInformati onAssociationHandler.handleRequest(SSLInformationA ssociationHandler.java:131) at io.undertow.servlet.handlers.security.ServletAuthe nticationCallHandler.handleRequest(ServletAuthenti cationCallHandler.java:57) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.security.handlers.AbstractConfidential ityHandler.handleRequest(AbstractConfidentialityHa ndler.java:46) at io.undertow.servlet.handlers.security.ServletConfi dentialityConstraintHandler.handleRequest(ServletC onfidentialityConstraintHandler.java:64) at io.undertow.security.handlers.AuthenticationMechan ismsHandler.handleRequest(AuthenticationMechanisms Handler.java:60) at io.undertow.servlet.handlers.security.CachedAuthen ticatedSessionHandler.handleRequest(CachedAuthenti catedSessionHandler.java:77) at io.undertow.security.handlers.NotificationReceiver Handler.handleRequest(NotificationReceiverHandler. java:50) at io.undertow.security.handlers.AbstractSecurityCont extAssociationHandler.handleRequest(AbstractSecuri tyContextAssociationHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.security.jacc.JACCC ontextIdHandler.handleRequest(JACCContextIdHandler .java:61) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler .handleFirstRequest(ServletInitialHandler.java:284 )

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via smartbear.com by Unknown author, 1 year ago
A security error was encountered when verifying the message at org.apache.cxf.ws.security.wss4j.WSS4JUtils.create SoapFault(WSS4JUtils.java:216) at org.apache.cxf.ws.security.wss4j.WSS4JInIntercepto r.handleMessageInternal(WSS4JInInterceptor.java
org.apache.cxf.binding.soap.SoapFault: A security error was encountered when verifying the message at org.apache.cxf.ws.security.wss4j.WSS4JUtils.create SoapFault(WSS4JUtils.java:216) at org.apache.cxf.ws.security.wss4j.WSS4JInIntercepto r.handleMessageInternal(WSS4JInInterceptor.java:32 9) at org.apache.cxf.ws.security.wss4j.WSS4JInIntercepto r.handleMessage(WSS4JInInterceptor.java:184) at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JI nInterceptor.handleMessage(PolicyBasedWSS4JInInter ceptor.java:79) at org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JI nInterceptor.handleMessage(PolicyBasedWSS4JInInter ceptor.java:66) at org.apache.cxf.phase.PhaseInterceptorChain.doInter cept(PhaseInterceptorChain.java:308) at org.apache.cxf.transport.ChainInitiationObserver.o nMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestinat ion.invoke(AbstractHTTPDestination.java:251) at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleH ttpRequest(RequestHandlerImpl.java:108) at org.jboss.wsf.stack.cxf.transport.ServletHelper.ca llRequestHandler(ServletHelper.java:134) at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFSe rvletExt.java:88) at org.apache.cxf.transport.servlet.AbstractHTTPServl et.handleRequest(AbstractHTTPServlet.java:293) at org.apache.cxf.transport.servlet.AbstractHTTPServl et.doPost(AbstractHTTPServlet.java:212) at javax.servlet.http.HttpServlet.service(HttpServlet .java:707) at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFS ervletExt.java:136) at org.jboss.wsf.spi.deployment.WSFServlet.service(WS FServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet .java:790) at io.undertow.servlet.handlers.ServletHandler.handle Request(ServletHandler.java:85) at io.undertow.servlet.handlers.security.ServletSecur ityRoleHandler.handleRequest(ServletSecurityRoleHa ndler.java:62) at io.undertow.servlet.handlers.ServletDispatchingHan dler.handleRequest(ServletDispatchingHandler.java: 36) at org.wildfly.extension.undertow.security.SecurityCo ntextAssociationHandler.handleRequest(SecurityCont extAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.security.SSLInformati onAssociationHandler.handleRequest(SSLInformationA ssociationHandler.java:131) at io.undertow.servlet.handlers.security.ServletAuthe nticationCallHandler.handleRequest(ServletAuthenti cationCallHandler.java:57) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.security.handlers.AbstractConfidential ityHandler.handleRequest(AbstractConfidentialityHa ndler.java:46) at io.undertow.servlet.handlers.security.ServletConfi dentialityConstraintHandler.handleRequest(ServletC onfidentialityConstraintHandler.java:64) at io.undertow.security.handlers.AuthenticationMechan ismsHandler.handleRequest(AuthenticationMechanisms Handler.java:60) at io.undertow.servlet.handlers.security.CachedAuthen ticatedSessionHandler.handleRequest(CachedAuthenti catedSessionHandler.java:77) at io.undertow.security.handlers.NotificationReceiver Handler.handleRequest(NotificationReceiverHandler. java:50) at io.undertow.security.handlers.AbstractSecurityCont extAssociationHandler.handleRequest(AbstractSecuri tyContextAssociationHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.security.jacc.JACCC ontextIdHandler.handleRequest(JACCContextIdHandler .java:61) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handl eRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler .handleFirstRequest(ServletInitialHandler.java:284 )
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.