on 10-24-2009 8:36 AM
Hi All
Please explaim why we use XSD validation and how it is done.
Regar
XSD schema is used to validate an XML document. The validation is performed by checking whether the XML document is a well-formed.
Have a look at this article -
How To... Perform XML Validations in SAP NetWeaver Process Integration 7.1
For more understand , refer to http://www.w3schools.com/Schema/default.asp
Regards,
Sunil Chandra
Edited by: sunil chandra on Oct 24, 2009 1:39 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nidhi,
>>I still did not unserstand that what is the purpose of using XSD vilidation for sender soap scenario.
May be you shoudl have written this in the first place that you need to know why XSD validation for SOAP sender scenarios
Now have you created a SOAP scenario in PI and have given the wsdl to some external client? If yes then you may not be required to use the XSD validation option, because you have given the source structure used in PI in the wsdl file itself.
Now think like you have not provided the wsdl file and the source side is manually creating the XML that need to be sent to PI. there are chances that the mandatory fields may be missed or some other mismatch in structure can happen. If you don't go for XSD validation in source side there are chances that you message mapping may fail. So to avoid this you can use the XSD Validation, where you are validating the XML structure (which is sent to PI) with XSD schema (which is used in PI) amd if any mismatch found then it can fail before mapping
Regards
Suraj
Hi,
XSD schema defines elements, attributes, and the relationship between them. It conforms to the W3C XML schema standards and recommendations. We need to check whether XSD is well formed or not and its valid or not just like compiling program.
if it is weel formed then only we can see message structure in XSD,when you imprt XSD in to PI,it should genarate WSDL ,then only we can its valid or well formed in PI point of view.
before uploading as a External def in PI, we can validate using XML Editors like XML Spy or Stylus.
in XML spy use F7 button to check wellformess and F8 to validate.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
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.