I am creating a integration with P6 r8.2 from .net framework
And now i'm getting following error message when trying to ReadProjects from Primavera. "Encryption is enabled but there is no encrypted key in the request."
What could be wrong in my code or what I should change in web service configuration?
On the link below you can find how i'm trying to communicate with Primavera
Btw, is anyone has a .net demo, how it's better to communicate with Primavera?
This is documented in metalink note ERROR: 'Encryption is enabled but there is no encrypted key in the request' When Running Web Services Demo Application (Doc ID 1270466.1)
When installing Web Services, the following Primavera Administrator settings will default to true:
Web Services > Security > Message Protection > Require Encryption for Incoming Messages
Web Services > Security > Message Protection > Require Digital Signatures for Incoming Message
Depending on the security in place for Web Services, one of the following courses of action must be taken:
If your system does not require Encryption or Digital Signatures for Incoming Messages, change both settings to false in the Primavera administrator.
If the use of Encryption and Digital Signatures is desired, a keystore will need to be set up and then properly configured within the Primavera Administrator. For assistance doing so, please see the following article: http://download.oracle.com/javaee/1.4/tutorial/doc/Security6.html
See if this helps you.
Where I can found Primavera administrator?
As I understood, Primavera was installed into following folder C:\Oracle\Primavera\p6. Is this adminpv.cmd in this folder?
Or it's possible to change without Primavera administrator? Because Primavera was installed not by me and no one remember password for admin. Maybe there is default user and password?
You are right. you can run admipv.cmd. you have to enter privuser and its password to login there. Alternatively, you can login to P6 administrator using the url http://host:port/p6/admin/AdminLogin and login with your application login user name like admin
I reinstalled P6 (that was tough ), and changed "Require Encryption for Incoming Messages" and "Require Digital Signatures for Incoming Message" to false with privuser by using adminpv.cmd.
Don't know why, but when i'm trying "Administration Configuration", i'm getting message: The database you are connecting to is not a P6 Professional database.
I reused older configuration of WebLogic with old passwords for pubuser and privuser.
And now when i'm trying to start p6ws service in Deployment, in console i'm getting following error message: Login failed for user pubuser.
In SQL management studio I can access my P6 base and select data. So the issue is hidden somewhere in WebService configuration.
Is it possible to change password for pubuser? And how I can do that?