Skip to Content
0
Former Member
Jul 26, 2005 at 02:08 PM

Schema to be handled does not contain a definition of type SODetailResponse

65 Views

I am creating a new data type named SODetailResponse

and I get an error trying to import xml schema. I used XMLSpy and Business Connector with the schema and had no problems.

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

http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

<xs:element name="SODetailResponse">

<xs:complexType>

<xs:sequence>

<xs:element name="Items" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>