Skip to Content
0
May 15, 2008 at 11:10 AM

No message in imported External Defintion

148 Views

Hi,

I've imported the following GS1 xsd (StandardBusinessDocumentHeader.xsd) into the Integration Repository including the other XSDs that were listed in the External References tab.

http://www.w3.org/2001/XMLSchema"

xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"

elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:include schemaLocation="DocumentIdentification.xsd"/>

<xs:include schemaLocation="Partner.xsd"/>

<xs:include schemaLocation="Manifest.xsd"/>

<xs:include schemaLocation="BusinessScope.xsd"/>

<xs:complexType name="StandardBusinessDocumentHeader">

<xs:sequence>

<xs:element name="HeaderVersion" type="xs:string"/>

<xs:element name="Sender" type="Partner" maxOccurs="unbounded"/>

<xs:element name="Receiver" type="Partner" maxOccurs="unbounded"/>

<xs:element name="DocumentIdentification" type="DocumentIdentification"/>

<xs:element name="Manifest" type="Manifest" minOccurs="0"/>

<xs:element name="BusinessScope" type="BusinessScope" minOccurs="0"/>

</xs:sequence>

</xs:complexType>

<xs:element name="StandardBusinessDocumentHeader" type="StandardBusinessDocumentHeader"/>

<xs:element name="StandardBusinessDocument" type="StandardBusinessDocument"/>

<xs:complexType name="StandardBusinessDocument">

<xs:sequence>

<xs:element ref="StandardBusinessDocumentHeader" minOccurs="0"/>

<xs:any namespace="##other" processContents="lax"/>

</xs:sequence>

</xs:complexType>

</xs:schema>

However, I can't use this External Defintion in a Message Mapping since there's no entry in the Messages tab of the External Definition. Is there something wrong with this xsd? If so, how do I correct this?

Thanks a lot in advance.