wsit
  1. wsit
  2. WSIT-1549

javax.xml.crypto.dsig.XMLSignatureException: WSS1717: Error occurred while doing digest verification of body/payload

    Details

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

      AIX, GF3.1.1, metro 2.1.1

      Description

      While running security tests, I see some tests fail with below exception.

      Exception:
      ==========

      SEVERE: WSS1717: Error occurred while doing digest verification of body/payload
      Throwable occurred: javax.xml.crypto.dsig.XMLSignatureException: WSS1717: Error occurred while doing digest verification of body/payload
      at com.sun.xml.ws.security.opt.impl.incoming.processor.StreamingPayLoadDigester.accept(StreamingPayLoadDigester.java:137)
      at com.ctc.wstx.stax.FilteredStreamReader.next(FilteredStreamReader.java:45)
      at com.sun.xml.ws.security.opt.impl.util.VerifiedMessageXMLStreamReader.next(VerifiedMessageXMLStreamReader.java:86)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildrenNoEx(StreamReaderBufferCreator.java:245)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildren(StreamReaderBufferCreator.java:177)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.store(StreamReaderBufferCreator.java:142)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.create(StreamReaderBufferCreator.java:82)
      at com.sun.xml.stream.buffer.MutableXMLStreamBuffer.createFromXMLStreamReader(MutableXMLStreamBuffer.java:113)
      at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.cacheMessage(VerifiedStreamMessage.java:554)
      at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.readPayload(VerifiedStreamMessage.java:311)
      at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:552)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
      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 $Proxy40.ping(Unknown Source)
      at simple.client.PingServiceClientjs60.main(Unknown Source)
      javax.xml.ws.WebServiceException: javax.xml.crypto.dsig.XMLSignatureException: WSS1717: Error occurred while doing digest verification of body/payload
      at com.sun.xml.ws.security.opt.impl.incoming.processor.StreamingPayLoadDigester.accept(StreamingPayLoadDigester.java:139)
      at com.ctc.wstx.stax.FilteredStreamReader.next(FilteredStreamReader.java:45)
      at com.sun.xml.ws.security.opt.impl.util.VerifiedMessageXMLStreamReader.next(VerifiedMessageXMLStreamReader.java:86)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildrenNoEx(StreamReaderBufferCreator.java:245)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.storeElementAndChildren(StreamReaderBufferCreator.java:177)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.store(StreamReaderBufferCreator.java:142)
      at com.sun.xml.stream.buffer.stax.StreamReaderBufferCreator.create(StreamReaderBufferCreator.java:82)
      at com.sun.xml.stream.buffer.MutableXMLStreamBuffer.createFromXMLStreamReader(MutableXMLStreamBuffer.java:113)
      at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.cacheMessage(VerifiedStreamMessage.java:554)
      at com.sun.xml.ws.security.opt.impl.incoming.VerifiedStreamMessage.readPayload(VerifiedStreamMessage.java:311)
      at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:552)
      at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
      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 $Proxy40.ping(Unknown Source)
      at simple.client.PingServiceClientjs60.main(Unknown Source)
      Caused by: javax.xml.crypto.dsig.XMLSignatureException: WSS1717: Error occurred while doing digest verification of body/payload
      at com.sun.xml.ws.security.opt.impl.incoming.processor.StreamingPayLoadDigester.accept(StreamingPayLoadDigester.java:137)
      ... 15 more
      Error : SOAP request NOT sent

      Please find the attached soap log and service policy file.

      1. soap-log-js60.log
        62 kB
        Sreekanth
      2. soap-log-js60.log
        62 kB
        Sreekanth
      3. wsit-simple.server.IPingService.xml
        7 kB
        Sreekanth

        Activity

        Hide
        Sreekanth added a comment -
        Show
        Sreekanth added a comment - Looks like it is related to : http://forums.java.net/node/700114 and this issue http://java.net/jira/browse/WSIT-1546
        Hide
        kumarjayanti added a comment -

        Sreekanth,

        This bug no longer appears right. My fixes were specifically this. Can you verify and reopen if u think this bug is still there.

        Show
        kumarjayanti added a comment - Sreekanth, This bug no longer appears right. My fixes were specifically this. Can you verify and reopen if u think this bug is still there.
        Hide
        Sreekanth added a comment -

        Today morning when I checked AIX hudson job ,it is still failing.Now I verified the metro bits.They show metro 2.1.1 build 7.But it should be build 8. I will manually run the tests and verify if its still an issue.

        Show
        Sreekanth added a comment - Today morning when I checked AIX hudson job ,it is still failing.Now I verified the metro bits.They show metro 2.1.1 build 7.But it should be build 8. I will manually run the tests and verify if its still an issue.
        Hide
        Sreekanth added a comment -

        This still fails.Attaching soap log when testing against metro 2.1.1 build 08

        Show
        Sreekanth added a comment - This still fails.Attaching soap log when testing against metro 2.1.1 build 08
        Hide
        Sreekanth added a comment -

        Other test cases failing are : js58 , js64, s95, s96.

        Show
        Sreekanth added a comment - Other test cases failing are : js58 , js64, s95, s96.
        Hide
        kumarjayanti added a comment -

        As confirmed by QE closing this issue as fixed

        Show
        kumarjayanti added a comment - As confirmed by QE closing this issue as fixed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: