My Oracle Support Banner

Error "DefaultValidationEventHandler: [ERROR]: unexpected element" When Attempting to Read PeriodActualUnits from ReadResourceAssignmentSpread using JAVA Code via Web Services (Doc ID 2999688.1)

Last updated on JANUARY 29, 2024

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 21.12.16.0 to 21.12.17.0 [Release 21.12]
Information in this document applies to any platform.

Symptoms

When attempting to fetch the Period Actual Units value from a ReadResourceAssignmentSpread Operation using JAVA code via P6 EPPM Web Services, the following error occurs.

DefaultValidationEventHandler: [ERROR]: unexpected element (uri:"http://xmlns.oracle.com/Primavera/P6/WS/Spread/V1", local:"PeriodActualUnits")

 

The issue can be reproduced at will with the following steps:

  1. Use Web Services to fetch the Period Actual Units from the ReadResourceAssignmentSpread Operation in Spread Service.
  2. Target Namespace: http://xmlns.oracle.com/Primavera/P6/WS/Spread/V1.
  3. Note the reported error.

Changes

 

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!


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