on 09-16-2004 9:59 PM
Hi,
is there a tool or program in SAP that allows you to validate an XML file against an XML Schema ?
Thank you.
Thierry
Hi Thierry
If validation is still an issue, please check out this weblog entry:
<a href="/people/morten.wittrock/blog/2006/03/21/validating-messages-in-xi-using-xml-schema">/people/morten.wittrock/blog/2006/03/21/validating-messages-in-xi-using-xml-schema</a>
Cheers,
Morten Wittrock
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you were more interested from an ABAP perspective here are some other pointers.
The XML library for ABAP is documented here: http://help.sap.com/saphelp_nw04/helpdata/en/bb/5766b2dca511d4990b00508b6b8b11/frameset.htm
The XML library does not have any direct support for schema to my knowledge. Some support comes in the context of Web services. Here is a nice table that gives you an overview of mapping XSD types to ABAP: http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/frameset.htm
There is also an XSD editor that is part of XI: http://help.sap.com/saphelp_nw04/helpdata/en/24/6ca54c596a97478b1255898a0542d0/frameset.htm
Something else that may be helpful is the Transformation editor which provides XSLT and XPath functionality: http://help.sap.com/saphelp_nw04/helpdata/en/c5/af463c36a30319e10000000a114084/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Extract from database structures or tables I assume.
For J2EE you could work with a data dictionary project and then use Open SQL or JDBC to get you data. At that point you have a wide variety of options from using JAXB to presenting the exposing the data as a web service. There are also a number of plugins for Eclipse that you could investigate that offer visual XML editing, I don't have a recommendation there as I don't use any of them.
For ABAP probably the XSD editor would be a better place to start if you want something more visual.
Hi,
have a look at the SAP's implementation of XML Schema validation here:
http://help.sap.com/saphelp_nw04/helpdata/en/c4/e1343e8c7f6329e10000000a114084/frameset.htm
Regards,
Ivo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are some Eclipse IDE plugins that provide XML validation features. These capablities would therefore also be available in the NW Developer Studio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.