Resolution for XML Schema resource conflict error.

While I was working on XML schema definition (XSD) files, during compilation I was receiving the below error –

The configured XML Schema resource is the same as the XML Schema resource being defined.WS-Addressing.xsd /AccountingEntryEBS/Resources/Schemas line 1 ALSB Conflict.

Reason: In WS-Addressing.xsd schema file the <include> statement was trying to include another schema which have same name as the WS-Addressing.xsd as shown below.

<xs:include schemaLocation=“../Schemas/WS-Addressing.xsd”/>

Resolution: In my case I had two schema files with same name as WS-Addressing.xsd in different locations. So I changed the SchemaLocation in my first WS-Addressing.xsd file, which refers to the second file from different location. By this the schema file reference is fine and the issue got fixed.

This entry was posted in BPEL, Oracle Service Bus (OSB), Service Oriented Architecture (SOA 11g), XML and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s