Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems in resolving schema dependencies in OSB.

707292Jun 22 2009 — edited Jun 22 2009
How do I resolve the following error in OSB:

I have uploaded a set of inter-dependent schemas of OAGIS. But the OSB throws a error:

servicebus:/XMLSchema/Agilent-Assets/XSD/Resources/Nouns/Shipment1:81:8: error: cos-nonambig: Content model violates the unique particle attribution rule.

This seems to be issue with the schema. I have used the schema(s) in transformation in bpel. But it didnot give any error.Since this schema has been referred by main shipment schema , so that is also failing....

Attached is the schema which gives the error in OSB:

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:oa="http://www.openapplications.org/oagis"
xmlns:abc="http://www.abc.com/oagis"
targetNamespace="http://www.abc.com/oagis"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="Shipment.xsd"/>
<xs:include schemaLocation="../Components1.xsd"/>
<xs:element name="OrderType" type="xs:string"/>
<xs:group name="Shipment1">
<xs:choice>
<xs:element ref="abc:Shipment1" minOccurs="0"/>
</xs:choice>
</xs:group>
<!--xs:element name="Shipment1" type="abc:Shipment"/-->
<xs:element name="Shipment1">
<xs:complexType>
<xs:sequence>
<xs:element name="ShipUnit1" type="abc:ShipUnit1" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Header1" type="abc:Header" minOccurs="0" maxOccurs="1"/>
<xs:element name="Line" type="abc:ShipUnit" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:complexType name="ShipUnit1">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">The ShipUnit
supports the
optional
capability
to
accurately
describe the
internal
intermediate
container
and item
packaging
structure
with the
shipping
unit to any
arbitrary
complexity
or nesting
depth</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="abc:SCEUnit">
<xs:sequence>
<xs:group ref="abc:CommonShipInformation" minOccurs="0"/>
<xs:element ref="abc:Container" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ShipmentInventoryItem" minOccurs="0"
maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element ref="abc:ShipmentInventoryItem" minOccurs="0"/>
<xs:element ref="abc:ShipmentInventoryItem1" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--xs:element ref="abc:Parties" minOccurs="0"/-->
<xs:element name="Parties1" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="SupplierParty" type="abc:PartyInstitutional" minOccurs="0"/>
<xs:element name="SoldToParty1" type="abc:PartyInstitutional" minOccurs="0"/>
<xs:element name="CustomerParty1" type="abc:PartyInstitutional" minOccurs="0"/>
<xs:element name="ShipToParty1" type="abc:PartyInstitutional" minOccurs="0"/>
<xs:element name="BillToParty1" type="abc:PartyInstitutional" minOccurs ="0"/>
<xs:element name="SupplierParty" type="abc:PartyInstitutional" minOccurs ="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="abc:UserArea" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>


Any pointers helpful

Regards

Prabal

Edited by: nik_nik_nik on Jun 22, 2009 12:38 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2009
Added on Jun 22 2009
5 comments
1,878 views