cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create XSD

Former Member
0 Kudos

Hi MDM Techies,

I need to create a XSD file for a particular XML file of a repository.

I am having the xomLite.jar file and placed it in the bin of the java folder.

I am following the below steps.

In console, thepath->java -jar xomLite45.jar filename.xml

But I am getting the message unable to access jarfile xomLite45.jar.

Can anyone plz help me out wid this.

Thanks,

Minaz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Minaz,

Have you set the path for this perticular jar file in the envoirnment Variable.

go to mycomputer>properties>Advance-->envoirnment Variable.

just set the path for this jar file first as path= specified location of the jar file.

I hope that this might be solve your problem.

TNR,

Saurabh

Former Member
0 Kudos

Hi Saurabh,

I tried setting the environment variable. But it is still giving me the same error.

I think there is some problem with the jar file.

Can anyone give me the exact path form where I can get xomLite45.jar file.

Thanks,

Minaz

Former Member
0 Kudos

HI Minaz,

you can just refer the following thread:

might be helpful for you.

TNR,

Saurabh...

Former Member
0 Kudos

Hi Minaz,

xomLite45.jar file comes with HowToGenerateXsdSp5 zip file and that file you have to download it from the Master Data Management How-to Guides for SAP NetWeaver 2004 site:

I am also giving you the complete procedure for creating the XSD file.

In the console Select the Repository of which you wanted to create XSD file.

Right click->select export Repository Schema from the cascading menu.

Select the following path to store exported schema file.(from this XML document you are able to create the XSD file.)

HowToGenerateXsdSp5 Folder->select xomLite45->(there you will get templates, xomLite45 Executable Jar file, and XSD zip file.)in the xomLite45 folder you have to store the XML Document.

start cmd, give the complete path upto the xomLite45 (it doesn't matter where you store the HowToGenerateXsdSp5 folder anywhere you can store the file---then just type) java –jar xomLite45.jar RepositoryName.xml press Enter.

In that same location you will be able to get the W3C xml schema. And XML schema is nothing but XSD file.

If you have any difficulty regarding this please let me know.

Hope this helps you.

Reward points if found useful.

Regards,

Swapnil

Former Member
0 Kudos

Hi Swapnil,

Thanks for your reply.Can you give the exact path of the site from where I can get the zip file.

Thanks,

Minaz

Former Member
0 Kudos

Hi Minaz,

Following is the path where you could get the PDF's and zip file.

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

please check out the following Heading, and at the bottom corner you will find the download option where you will get the zip file:

How to Generate XSD Schemas from Existing MDM 5.5 Repositories

Hope this will help you out.

Reward points if found useful.

Regards,

Swapnil

Former Member
0 Kudos

Thx Swapnil for your quick reply.The information shared by you proved to be very useful.

Answers (0)