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 )

smartbear.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    BSP:R5424: Any ENC_KEY_INFO MUST have exactly one ... - SmartBear Community

    smartbear.com | 6 months ago
    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 )

    Root Cause Analysis

    1. 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()
    2. Undertow Servlet
      ServletInitialHandler$1.handleRequest
      1. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
      2. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
      3. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
      3 frames
    3. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
      2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames