cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with loading XSD in PI 7.1 External Definitions

Former Member
0 Kudos

Hi experts

We are upgrading from XI 3.0 to PI 7.1.

We have some xsds to import. While importing it gives some error.

"Unable to convert imported document to WSDL

Reason:

Unable to recognize document as valid XSDCheck selected category"..

It had an attribute named 'xmlns'. IT didn't show any error in 3.0.

I have removed that attribute and imported. Still it shows validation problem.

I have also checked in xmlspy and there the xsd got validated successfully. But still not able to import in 7.1.

Thanks and Regards

Dhanish Joseph

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

can you paste the XSD here ,some of the tags not allowed in PI7.1

<xsd:simpleContent> like this one.

Regards,

Raj

Former Member
0 Kudos

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

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

<xs:import namespace="http://www.w3.org/XML/1998/namespace"/>

<xs:complexType name="Year" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="Month" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="Day" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="Hour" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="Minute" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="Second" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="Amount" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="NumberOfDecimal" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="CustomerCode" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

<xs:attribute name="customerCodeQualifier" type="xs:string"/>

</xs:complexType>

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

<xs:complexType name="CountryCode" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="LanguageCode" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

</xs:complexType>

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

<xs:complexType name="SellerCode" mixed="true">

<xs:choice minOccurs="0" maxOccurs="unbounded"/>

<xs:attribute name="sellerQualifier" type="xs:string"/>

</xs:complexType>

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

<xs:complexType name="Party">

Edited by: dhanish joseph on Aug 18, 2010 1:11 PM

Former Member
0 Kudos

Hi Raja,

We are also facing the same problem for the "No global key defined" after upgrading our XI3.0 system to PI7.11.

Could you please let us know if there are any limitation for the XSD/WSDL in PI7.11 ?

Thanks

Varun Goel