on 10-01-2010 10:35 AM
Hi SapAll.
i have got a requirement in an IDOC To xml File Interface where i need to create a structure for the target xml file .
here i have sample xml file ,so i just want to know if there is any other way to generate xsd from the xml file instead of creating strucure in PI.i mean is there any website to do this ?.
if i can get the xsd from the sample xml file then i can just import that xsd directly into External Definition for the target xml file structure
Hi,
U can do it by installing JDeveloper from Oracle. It's free Java Developing tool, available.
Please google it, u will get
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mr Babu.
i have got an xsd from the third party and then i imported the xsd into external definition(PI) .when i have a look at the xsd i found one field missing under one of the subelements and then i exported the external definiton into desktop .i made the changed to the uploaded xsd by adding one more field as below
<xsd:attribute name="XMLNameSpace" use="required" type="xsd:integer"/>
but when i imported the the updated xsd into External definition it raises the error as below
Unable to convert imported document to WSDL
Reason:
Unable to recognize document as valid XSDCheck selected category.
can any of you help me on how to achieve this ?
will be waiitng for your response.
regards.
Varma
Hi
but when i imported the the updated xsd into External definition it raises the error as below
Unable to convert imported document to WSDL
You might have done any syntax error,make sure you insert the required field properly in the exported XSD.
If you have visual studio 2005 , in your PC then you can open the XSD using that and edit in a proper format.
Its good if you have XML SPY , you can check the syntax correctness and validate the XSD before importing.
check the syntax required by referring tohttp://www.w3schools.com/Schema/schema_simple_attributes.asp
And also make sure while importing you choose "xsd" instead of wsdl which is the default option for importing
external definition.
Regards,
Srinivas
Hi,
You can use the following link to convert your XML to XSD online:
http://www.flame-ware.com/products/xml-2-xsd/default.aspx
Regards, Gaurav.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.