wsit
  1. wsit
  2. WSIT-1551

javax.xml.ws.soap.SOAPFaultException: com.sun.xml.wss.impl.WssSoapFaultException: Signature verification failed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: current
    • Component/s: security
    • Labels:
      None
    • Environment:

      AIX, GF3.1.1,Metro2.1.1

      Description

      Around 8 tests are failing in WsSecurity functional tests in AIX.

      Exception :
      =============
      Error : Exception
      javax.xml.ws.soap.SOAPFaultException: com.sun.xml.wss.impl.WssSoapFaultException: Signature verification failed
      at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)
      at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:134)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:123)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:93)
      at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:144)
      at $Proxy38.ping(Unknown Source)
      at simple.client.PingServiceClients69.main(Unknown Source)
      Caused by: javax.xml.ws.soap.SOAPFaultException: com.sun.xml.wss.impl.WssSoapFaultException: Signature verification failed
      at com.sun.xml.ws.security.opt.impl.util.SOAPUtil.createSOAPFault(SOAPUtil.java:223)
      at com.sun.xml.ws.security.opt.impl.util.SOAPUtil.getSOAPFaultException(SOAPUtil.java:215)
      at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:308)
      at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314)
      at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608)
      at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259)
      at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:207)
      at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:159)
      at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:194)
      at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:80)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
      at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:736)
      Caused by: com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.impl.WssSoapFaultException: Signature verification failed
      at com.sun.xml.wss.impl.dsig.SignatureProcessor.verify(SignatureProcessor.java:916)
      at com.sun.xml.wss.impl.filter.SignatureFilter.process(SignatureFilter.java:638)
      at com.sun.xml.wss.impl.NewSecurityRecipient.processCurrentHeader(NewSecurityRecipient.java:245)
      at com.sun.xml.wss.impl.NewSecurityRecipient.pProcess(NewSecurityRecipient.java:324)
      at com.sun.xml.wss.impl.NewSecurityRecipient.validateMessage(NewSecurityRecipient.java:143)
      at com.sun.xml.wss.jaxws.impl.SecurityServerTube.verifyInboundMessage(SecurityServerTube.java:678)
      at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(SecurityServerTube.java:292)
      ... 38 more
      Caused by: com.sun.xml.wss.impl.WssSoapFaultException: Signature verification failed
      at com.sun.xml.wss.impl.SecurableSoapMessage.newSOAPFaultException(SecurableSoapMessage.java:341)
      at com.sun.xml.wss.impl.dsig.SignatureProcessor.verify(SignatureProcessor.java:831)
      ... 44 more
      Caused by: com.sun.xml.wss.XWSSecurityException: Signature verification failed
      at com.sun.xml.wss.impl.dsig.SignatureProcessor.verify(SignatureProcessor.java:830)
      ... 44 more

      Please find the attached SOAP log and policy file where we get this exception

      1. PingServices69.wsdl
        8 kB
        Sreekanth
      2. soap-log-s69.log
        41 kB
        Sreekanth

        Activity

        Hide
        Sreekanth added a comment -

        Fixed.No more reproducible.

        Show
        Sreekanth added a comment - Fixed.No more reproducible.

          People

          • Assignee:
            kumarjayanti
            Reporter:
            Sreekanth
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: