1 Reply Latest reply: Apr 8, 2013 10:26 PM by gCubed RSS

    A server exception occured while trying to perform username token authentic

    SantoshV Singh
      Hi Everyone,
      I am trying to run webservices demo provided in P6 EPPM 8.2.
      But after executing 2-3 times , when i tried to run demo again i faced following error.

      --------------------------------------
      javax.xml.ws.soap.SOAPFaultException: A server exception occured while trying to perform username token authentication: Unable to get permanent license

      Can anyone help on the same?

      System Details :

      P6 EPPM 8.2
      Database XE.

      Regards,
      Santosh
        • 1. Re: A server exception occured while trying to perform username token authentic
          gCubed
          Make sure you P6WS is configured to point to a P6 Database by running dbconfig.cmd / dbconfig.sh to configure which database you want it to use. Not sure this is necessary as you can ask the API for a list of configured databases but I always set a default one.

          Then run the admin.cmd / admin.sh to see which authentication type you have configured. Change this to match what is being used in the demo code. If memory serves me right, I think the Demo code uses COOKIE_MODE.

          You should find the cmd/sh files in the install directory of P6WS under ws\bin.

          Gene