com.sun.xml.wss.impl.WssSoapFaultException: Username has not been set

Oracle Community | jayanth_gande | 8 years 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

    Problem in SecureWebServiceClient(UsernameAuthenticationwithSymmetric key)

    Oracle Community | 8 years ago | jayanth_gande
    com.sun.xml.wss.impl.WssSoapFaultException: Username has not been set

    Root Cause Analysis

    1. com.sun.xml.wss.XWSSecurityException

      Username has not been set

      at com.sun.xml.wss.impl.filter.AuthenticationTokenFilter.resolveUserNameTokenData()
    2. Metro Web Services Runtime OSGi Bundle
      WSITClientAuthContext.secureOutboundMessage
      1. com.sun.xml.wss.impl.filter.AuthenticationTokenFilter.resolveUserNameTokenData(AuthenticationTokenFilter.java:369)
      2. com.sun.xml.wss.impl.filter.AuthenticationTokenFilter.addUserNameTokenToMessage(AuthenticationTokenFilter.java:443)
      3. com.sun.xml.wss.impl.filter.AuthenticationTokenFilter.processUserNameToken(AuthenticationTokenFilter.java:98)
      4. com.sun.xml.wss.impl.HarnessUtil.processWSSPolicy(HarnessUtil.java:104)
      5. com.sun.xml.wss.impl.HarnessUtil.processDeep(HarnessUtil.java:263)
      6. com.sun.xml.wss.impl.SecurityAnnotator.processMessagePolicy(SecurityAnnotator.java:186)
      7. com.sun.xml.wss.impl.SecurityAnnotator.secureMessage(SecurityAnnotator.java:147)
      8. com.sun.xml.wss.provider.wsit.WSITClientAuthContext.secureOutboundMessage(WSITClientAuthContext.java:387)
      8 frames