Site navigation (main menu).

Blog

Primavera Web Services won’t authenticate P6 user

I have been trying to get the P6 to Oracle Projects 11.5 AIA PIP working on Linux and WebLogic recently and had a major problem with the interface trying to authenticate a P6 user. This BPEL process uses the AuthenticationService supplied with the P6 Web Services and this seemed to be failing.

The process instance would fail with:

Authenticate

[2011/03/31 08:34:52] Reauthenticating with P6 EPPM

[2011/03/31 08:34:52] P6 session could not be retrieved!

[2011/03/31 08:34:52] “{http://xmlns.oracle.com/ABCSImpl/P6EPPM/Core/GetSession/V1 AuthenticationException” has been thrown

After a long process of trying to track down the problem I discovered a typo in the Oracle documentation for deploying Primavera WebServices (OraclePrimavera® P6™ WebServices Administrator’s Guide Version 7.0)

On Page 26 Step 18 states:

18 Before starting P6WebServices, add the following JVM option to the startWeblogic startup script:

……

OnLinux:

JAVA_OPTIONS=”${ SAVE_JAVA_OPTIONS} -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl -Djavax.xml.soap.SOAPConnectionFactory=weblogic.wsee.saaj.SOAPConnectionFactoryImpl”

This has a typo in it. The space before the SAVE_JAVA_OPTIONS shouldn’t be there. If it is it will make the Web Service error. The correct line should be:

JAVA_OPTIONS=”${SAVE_JAVA_OPTIONS} -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl -Djavax.xml.soap.SOAPConnectionFactory=weblogic.wsee.saaj.SOAPConnectionFactoryImpl”

31 Mar, 2011 by

E-Business Suite

One thought on: “Primavera Web Services won’t authenticate P6 user”

  1. Barry Goodsell March 31, 2011 12:09 PM

    Good spot, Robin!

Comments are now closed... Please contact us if you have any queries.

prevost garriott_rid