Discussion
2
Replies
456
Views
Phalanx Consultancy Limited
Posted: October 9, 2015
Last activity: October 12, 2015
Unable to complete XSD import using Connector and Metadata wizard
I am trying to import and XSD and create mapping rules. The wizard completes with errors saying not rules have been created. When I click on the button to view the rules the pop window is displaying the below error
Status | fail |
Message | Failed to find instance PegaAccel-Integration-Connectors.StatusAsNotCreated of type Rule-Obj-When. |
I am using Pega 6.2 SP2 version.
The screenshots can be found below. Kindly assist
Were you facing the issue with any XSD or with specific ones?
Can you try with below XSD?
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xml.msdw.com/ns/appmw/eclipse/2.0" elementFormDefault="unqualified" targetNamespace="http://xml.msdw.com/ns/appmw/eclipse/2.0">
<xsd:complexType name="animalType">
<xsd:sequence>
<xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="origin" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="birdType">
<xsd:complexContent>
<xsd:extension base="tns:animalType">
<xsd:sequence>
<xsd:element name="color" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="fishType">
<xsd:complexContent>
<xsd:extension base="tns:animalType">
<xsd:sequence>
<xsd:element name="size" type="xsd:string" minOccurs="1"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="animals">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="animal" type="tns:animalType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>