cancel
Showing results for 
Search instead for 
Did you mean: 

Create an XSD schema of the repository

former_member189669
Active Participant
0 Kudos

Hi Folks,

There is a need to create an XSD schema of my repository. Please advise the way.

Also, is it possible to accomodate all tables and fields in the repository in xsd schema?

Regards,

Vinay M.S

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vinay,

Please follow the link below to directly get the Xomlite.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b05558c4-5517-2a10-67bc-f0d4a13c...

To understand the process of generating the XSD follow the guide below:

How to Generate XSD Schemas from Existing MDM 5.5 Repositories

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0e8a97-0d01-0010-f0a2-af3b18b7...

Using this Xomlite, and following the process in the above guide, you will be able to generate an XSD, which you can upload in the Console and use for furthur activites. The XSD will contain the entire structure of the repository.

Hope this info helps.

Thanks and Regards

Nitin Jain

Former Member
0 Kudos

Hi Nithin,

I followed the procedure given in the document.It is giving an error:Parsing error,uri file .xml file

java.lang.NullPointerException.Can you please give inputs on this.

Thanks and Regards,

Preethi

Former Member
0 Kudos

Use XML Spy you can get a 30 day trial version easily , and in there open the XML file & DTD/SChema menu -> generate XSD.

-Sudhir

Former Member
0 Kudos

Hi Preethi,

It works fine... May be some problem in your xml file. send me the XML file or paste in this thread , i can check it and tell you what is problem.

Cheers,

Veeru.

Former Member
0 Kudos

Hi Veera

Thanks for your response.I created a new repository and exported the schema.xsd was getting created properly in this case.I tried unarchiving 4-5 repositories.It did not work for any of them.It was showing the null pointer exception.

Thanks and Regards,

Preethi

former_member208981
Contributor
0 Kudos

Hi Vinay,

For XSD creation of MDM repository,you need a software called Xomlite45.jar. This jar file along with Java runtime environment will help you create an XSD of an MDM rep.

You can do by using Export in Console -> You will get XML here -> Use xomLite to get XSD structure.

Please go through the below:

There's a How To at service.sap.com/mdm --> MDM How To Guides --> How to generate XSD Schemas from MDM repositories

https://www.sdn.sap.com/irj/sdn/nw-mdm?rid=/webcontent/uuid/5024a59a-4276-2910-7580f52eb789194b [original link is broken]

There, you will find a .jar file for the extract and a pdf documentation on how it works.

Yes, all tables and fields are accomodated in the XSD.

Hope it helps.

Thanks,

Priti