After Database Upgrade from 10.2.0.3 To 10.2.0.5 Getting Error Ora-31043 (Doc ID 1299328.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 04-Aug-2014***

Symptoms

After upgrading the database from 10.2.0.3 to 10.2.0.5 All xml registered schema's are VALID. However,  when trying to use xml schema's in a program getting error:

ORA-31043: Element 'GetBOMInfoRequest' not globally defined in schema 'CPEE2EInclude_v01_00.xsd'


Even registering the schema globally using SYSTEM user id. ( dbms_xmlschema.registerSchema(l_name, doc, FALSE, TRUE, FALSE, TRUE);

But still problem is not resolved.
Failure occurs on the following line of code:

ameyxmltype.createschemabasedxml('GetBOMInfoRequest.xsd');

Cause

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 hundreds of Community platforms