xwss
  1. xwss
  2. XWSS-36

"WSS1816: Error occurred while resolving Direct Reference" needs more elaboration

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      36

      Description

      Hello,

      The WSS1816 error ("Error occurred while resolving Direct Reference") is not
      informative enough to the user to determine what the problem is. There could be
      many things which cause this error to occur--the user needs to know what is
      wrong so he can fix it. More information should be provided to the user--WSS4J,
      for example, almost always tells you exactly what the problem is with the
      certificate or the user's configuration.

      The error stack which is producing this error:

      [INFO] Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: WSS1816:
      Error occurred while resolving Direct Reference
      [INFO] at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.jav
      a:188)
      [INFO] at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilde
      r.java:130)
      [INFO] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
      java:119)
      [INFO] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
      java:89)
      [INFO] at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
      [INFO] at $Proxy41.doubleIt(Unknown Source)
      [INFO] at com.mycompany.webservice.client.WSClient.doubleIt(WSClient.java:20)
      [INFO] at com.mycompany.webservice.client.WSClient.main(WSClient.java:13)
      [INFO] Caused by: javax.xml.ws.soap.SOAPFaultException: WSS1816: Error occurred
      while resolving Direct Reference
      [INFO] at com.sun.xml.ws.security.opt.impl.util.SOAPUtil.getSOAPFaultException(
      SOAPUtil.java:175)
      [INFO] at com.sun.xml.wss.jaxws.impl.SecurityServerTube.processRequest(Security
      ServerTube.java:213)
      [INFO] at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
      [INFO] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
      [INFO] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
      [INFO] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
      [INFO] at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:24
      3)
      [INFO] at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap
      ter.java:444)
      [INFO] at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244
      )
      [INFO] at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd
      apter.java:135)
      [INFO] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServl
      etDelegate.java:129)
      [INFO] at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServ
      letDelegate.java:160)

      The above error stack doesn't provide much more help, because except for the
      line at SecurityServerTube.processRequest(SecurityServerTube.java:213),
      everything is painfully generic and nonhelpful for troubleshooting.

      Thanks,
      Glen

        Activity

        Hide
        kumarjayanti added a comment -

        started looking into it. Target Milestone Metro 1.5

        Show
        kumarjayanti added a comment - started looking into it. Target Milestone Metro 1.5
        Hide
        kumarjayanti added a comment -

        reassign

        Show
        kumarjayanti added a comment - reassign

          People

          • Assignee:
            xwss-issues
            Reporter:
            gmazza
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: