cancel
Showing results for 
Search instead for 
Did you mean: 

XML validation

Former Member
0 Kudos

Hi,

is there a tool or program in SAP that allows you to validate an XML file against an XML Schema ?

Thank you.

Thierry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

is there a framework that allows you to easily extract data in XML format ?

A tool with a GUI which allows selection of data and the creation of an XML structure with this data ?

Thanks

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

There are some Eclipse IDE plugins that provide XML validation features. These capablities would therefore also be available in the NW Developer Studio.