Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

External Definition - External References Problem

Hallo everybody,

i have got a problem within PI 7.11using a XSD which references another one.

First XSD looks like this:

<xs:schema xmlns:ns1="http://euh.com/TDB" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://euh.com/TDB" elementFormDefault="qualified" attributeFormDefault="unqualified" version="00.90.00">

<xs:import schemaLocation="TDB_Global.xsd"/>

<xs:element name="TDX_CheckIn_Request">

<xs:annotation>

<xs:documentation>Shema zum Dokument Einchecken </xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element ref="Head"/>

<xs:element ref="Documents"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>

Second:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xmime="http://www.w3.org/2005/05/xmlmime">

...

<xs:element name="Head">

<xs:annotation>

<xs:documentation>XML Kopf</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element ref="AccountingArea"/>

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

<xs:element ref="ID"/>

<xs:element ref="Order"/>

</xs:sequence>

</xs:complexType>

</xs:element>

...

<xs:element name="Documents">

<xs:complexType>

<xs:sequence>

<xs:element ref="Document" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

...

</xs:schema>

In the second i took the name given in the external references from the first one for the source field, this looks good...

My problem is, that the references to head- and documents-element or not resolved! I am not getting any error in PI, i just see the types highlighted red in the first external definition in the Messages-Tab.

What's the problem? I am clueless...

Thanks in advance!

Best regards,

Markus Schalk

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question