on 11-26-2008 10:46 AM
Dear all,
I am developing a EJB as the adapter module for the data validaion of the sender message on XI.
Because of the limit of accessing external website I can't implement the validation by parsing the payload
against the external XSD.
Therefore I am trying to implement the validation by parsing the payload against the internal DTD instead of the external XSD or the external DTD.
Please advise me how to convert the external XSD as the internal DTD into the payload before the
payload is parsed.
Thanks & Regards,
Red
Hi,
You can do the external validation by placing the XSD in the server0 directory of your server.
XML file should have a reference to XSD like for e.g.
<Order xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="YourXSD.xsd" version="1.1">
<Header>
...
</Header>
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also you can find sample code on the site below.
Please eliminate unused code and then use it.
Also do the required System property setting which is already there in the code.
(And do clear it after setting & using the system property)
http://knowhowsapxi.synthasite.com/modules-in-sap-xi.php
PS: The code is using SAX mapping to create the required source structure in message mapping of XI
Edited by: Progirl Progirl on Nov 26, 2008 4:43 PM
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.