This content has been marked as final. Show 1 reply
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.