My Oracle Support Banner

P6 Web Services Error "{http://xmlns.oracle.com/Primavera/P6/WS/Job/V2}JobService is not a valid service" Occurs When Using the p6ws-jaxws-client jar (Doc ID 2924774.1)

Last updated on JUNE 17, 2024

Applies to:

Primavera Web Services - Version 22.12 and later
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 22.1 and later
Information in this document applies to any platform.

Symptoms

When running a JobService request after upgrading P6 Web Services to version 22 and referencing the p6ws-jaxws-client jar the following error occurs,

ERROR
-----------------------
 {http://xmlns.oracle.com/Primavera/P6/WS/Job/V2}JobService is not a valid service. Valid services are: {http://xmlns.oracle.com/Primavera/P6/WS/Job/V3}JobServiceV3


STEPS
-----------------------
The issue can be reproduced with the following steps:
1. Download 22.12.0.0
2. Update the p6ws-jaxws-client jar in the client code
3. Run the existing code and it fails due to the namespace. e.g.
  //..code omitted for clarity
  Holder jobId = new Holder();
  Holder jobStatus = new Holder();
  servicePort.schedule(projectObjectId, dataxgc, 10000, jobId, jobStatus);

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.