cancel
Showing results for 
Search instead for 
Did you mean: 

How to set up XML Validation using a XSD File / Adapter Engine

Former Member
0 Kudos

Dear Experts,

it is my task to set up a XML Validation. SAP creates XML files for the SWIFT network.

I considered setting up a file to file scenario using XML validation.

The scheme accepted by the bank can be found here:

http://www.ebics.de/fileadmin/unsecured/anlage3/anlage3_pain001/pain_schema/pain.001.002.03.xsd

I found some information on how to set up XML Validation and importing XSD to the Enterprise Service Builder. Do I have to create datatypes, message types and service interfaces for every type in the XSD file or can I just copy the XSD file to the file system without doing anything in the ES Builder?

Are any changes to the XSD file necessary?

Thanks alot for your help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Data/Msgtype are not required...Import XSD under external definitions and create Service interface...

Former Member
0 Kudos

I configured a Service Interface with the following settings:

Category: Outbound

Interface Pattern: Stateless (XI30-Compatible)

Point-to-Point enable NOT checked (don't know what this is good for)

Operation Pattern: Normal Operation

Mode: Asynchronous

Role: Request, Type: External Message, Name: Document, Namespace: urn:iso:std:iso:20022:tech:xsd:pain.001.002.03

I can't find any information about how XML validation can be used or is related to external definitions and I'm not really sure how to continue from this point.

If I try to select my created or any other interface in the Integration Builder (using F4) in Interface Determination / Integrated Configuration there's not one Interface shown at all.

rajasekhar_reddy14
Active Contributor
0 Kudos

Option1:

refer below link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d026d253-3108-2c10-69a0-a5460fc1f...

Option2:

Using JAVA Mapping we can validate but required some efforts to build good code.

Regards,

Raj

anjaneya_bhardwaj2
Contributor
0 Kudos

Hi Please go through the below document and see what are u missing .

[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d026d253-3108-2c10-69a0-a5460fc1f0b9?QuickLink=index&overridelayout=true]

Thanks,

Anjaneya .

Edited by: Anjaneya Bhardwaj on Jan 2, 2012 2:00 PM

Edited by: Anjaneya Bhardwaj on Jan 2, 2012 2:00 PM

Former Member
0 Kudos

Thank you Raj

I already read that PDF but I haven't got Message Types yet and I'm not sure, if I need those or not (according to answer #1 I don't).

I don't need to export any XSD file, as I already am in posession of a xsd file (see the link above). The question is, what I have to configure in the Enterprise Servce and in the Integration Builder.

I think Option 2 is way too complicated. We don't want to validate any content but only the structure of the xml. Also, no content or structure has to be changed.

Answers (0)