cancel
Showing results for 
Search instead for 
Did you mean: 

syndicator

Former Member
0 Kudos

Hi All

I am new into MDM. I created a table and added fields for the table ...I created remote agency,port and xml schema..but i am not able create mapping in syndication manager

In Syndicator to create mapping  .I clicked on option File ->New and then selected type as xml schema and remote agency name as created in console and schema name as created in console...But OK button is greyed out...Please let me know where i am wrong ...

Regards

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

former_member193350
Active Participant
0 Kudos

Hi Sandeep

As you mentioned that you selected type of file as XML Schema. and your ok button is disabled please check with your schema whether it is properly created.

And also check when you are craeting a new map, through file-->new in Root field  whether the root element is displaying of your xml schema.

Mostly this error occurs when there is a  syntax problem with your Schema

Revert with your findings

Regards

Prateek Agarwal

Former Member
0 Kudos

Hi Prateek/Nitish

I created datatype in XI and used that XSD....Is it ok ?

Regards

Sandeep

former_member193350
Active Participant
0 Kudos

Hi Sandeep

Usually XSDs from PI do not contain the <xsd:element>Root Element</xsd:element> definition that is required for MDM Syndicator. But you could add this definition manually to the XSD from PI. Then the XSD will work.

Hope this information helps.

Regards

Prateek Agarwal

Former Member
0 Kudos

Hi Prateek

Can you please provide me a sample XSD for MDM

Regards

sandeep

former_member193350
Active Participant
0 Kudos

Hi Sandeep

Yeah sure below is the sample XSD  for MDM.

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="Product">
  <xs:complexType>
    <xs:sequence>
<xs:element name="ProductNumber"  type="xs:string"/>
<xs:element name="Description"  type="xs:string"/>
<xs:element name="MaintenanceStatus" type="xs:string"/>
     <xs:element name="ClassHierarchy" maxOccurs="2">
<xs:complexType>
    <xs:sequence>
      <xs:element name="Class" type="xs:string"/>
      <xs:element name="ParentClass" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>
     <xs:element name="ProductType" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="ProductTypeGUID" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>
   <xs:element name="ProductGroup" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="ProductGroupGUID" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>
       <xs:element name="ProductHierarchy" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="ProductHierarchyGUID" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>

       <xs:element name="GTIN" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="UnitCode" type="xs:string"/>
       <xs:element name="GTINCode" type="xs:string"/>
    
</xs:sequence>
  </xs:complexType>
</xs:element>
</xs:sequence>
  </xs:complexType>
</xs:element>
</xs:schema>

Hope this helps..

Regards

Prateek Agarwal

former_member193350
Active Participant
0 Kudos

Hi Sandeep

Yeah sure below is the sample XSD  for MDM.

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="Product">
  <xs:complexType>
    <xs:sequence>
<xs:element name="ProductNumber"  type="xs:string"/>
<xs:element name="Description"  type="xs:string"/>
<xs:element name="MaintenanceStatus" type="xs:string"/>
     <xs:element name="ClassHierarchy" maxOccurs="2">
<xs:complexType>
    <xs:sequence>
      <xs:element name="Class" type="xs:string"/>
      <xs:element name="ParentClass" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>
     <xs:element name="ProductType" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="ProductTypeGUID" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>
   <xs:element name="ProductGroup" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="ProductGroupGUID" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>
       <xs:element name="ProductHierarchy" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="ProductHierarchyGUID" type="xs:string"/>
</xs:sequence>
  </xs:complexType>
</xs:element>

       <xs:element name="GTIN" >
<xs:complexType>
    <xs:sequence>
      <xs:element name="UnitCode" type="xs:string"/>
       <xs:element name="GTINCode" type="xs:string"/>
    
</xs:sequence>
  </xs:complexType>
</xs:element>
</xs:sequence>
  </xs:complexType>
</xs:element>
</xs:schema>

Hope this helps..

Regards

Prateek Agarwal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sandeep

I got the same error, the problem was in the xml schema uploaded in console. Please check it either some fields are missing, or root-child fields are not in format. and to be on safe side also check the remote system name,

Former Member
0 Kudos

Hi Nitish

I created datatype in XI and used that XSD....Is it ok ?

Regards

Sandeep

Former Member
0 Kudos

Hi Sandeep

Yeah this is fine, but clear me in two points, have you uploaded the same same xsd generated in pi or you created your own????

OR

you are usding predefined bussiness content??

Former Member
0 Kudos

HI Nitish

I uploaded same xsd created in PI