Hi All,
I am trying to import XSD file to IR but it is giving error as
"Unable to convert imported document to WSDL
Reason:
Value 'asx:values' of the ref attribute in element '/schema/element("asx:abap")/complexType/sequence/element' contains an undeclared prefixCheck the selected category"
Following is the XSD file I am trying to import,
(Following content is copied from Internet explorer .. so it has some spaces and character "-")
<?xml version="1.0" encoding="UTF-8" ?>
- http://www.w3.org/2001/XMLSchema">
- <xs:element name="asx:abap">
- <xs:complexType>
- <xs:sequence>
<xs:element ref="asx:values" />
</xs:sequence>
<xs:attribute name="version" type="xs:NMTOKEN" use="required" />
</xs:complexType>
</xs:element>
- <xs:element name="asx:values">
- <xs:complexType>
- <xs:sequence>
<xs:element ref="item" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="BOTTOM">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="COLOR1">
<xs:complexType mixed="true" />
</xs:element>
<xs:element name="COLOR2" type="xs:string" />
- <xs:element name="COMPANY">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="DESC">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="FAMILY_NAM">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="FIRST_NAM">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="GRAIN">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="GRP">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="HEIGHT">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="item">
- <xs:complexType>
- <xs:sequence>
<xs:element ref="MATNR" />
<xs:element ref="KINDS" />
<xs:element ref="QTY" />
<xs:element ref="WIDTH" />
<xs:element ref="HEIGHT" />
<xs:element ref="COLOR1" />
<xs:element ref="COLOR2" />
<xs:element ref="GRP" />
<xs:element ref="COMPANY" />
<xs:element ref="FIRST_NAM" />
<xs:element ref="FAMILY_NAM" />
<xs:element ref="DESC" />
<xs:element ref="NOTES" />
<xs:element ref="REQ_DATE" />
<xs:element ref="GRAIN" />
<xs:element ref="TOP" />
<xs:element ref="LEFT" />
<xs:element ref="BOTTOM" />
<xs:element ref="RIGHT" />
<xs:element ref="PRIORITY" />
<xs:element ref="SHEET_NAME" />
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="KINDS">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="LEFT">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="MATNR">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="NOTES">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="PRIORITY">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="QTY">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="REQ_DATE">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="RIGHT">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="SHEET_NAME">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="TOP">
<xs:complexType mixed="true" />
</xs:element>
- <xs:element name="WIDTH">
<xs:complexType mixed="true" />
</xs:element>
</xs:schema>
Please help me on this.
Regards,
Nitin Patil