Peers
Appreciate any inputs here, I am stuck with this for 2 days and still have no idea what the problem is
Attached please find a zip files contains the XSD for my XML files
In addition, attached please find the XML that I have (at the end)
Using XMLSpy and other XML Editor, I am able to validate the XML against
the XSD (layout.xsd) without any error
However, when doing it within webMethods
- Create a Document Type “SubmissionDT” in Developer based on the
layout.xsd -> Root Element Submission
Will create a schema schema_SubmissionDT by webMethods
- Create a Flow Services
2.1 xmlStringToXMLNode <- passing in the XML as xmldata
<- isXML set to true
2.2 xmlNodeToDocument -> output document to Document
Type “SubmissionDT”
2.3 invoke pub.schema:validate <- passing in “SubmissionDT” to
objects
<- set confirmsTo to the documentType
definition “SubmissionDT”
However, keep complaing the Submission/T619/TRNMTR_ADDR/cntry_Cd
Appreciate help here !!Completely lost
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods