Validation of XML Schema using peopleCode
I'm trying to validate XSD schema for third party XML files. There is a peoplecode function ParseXMLfromURL() available which parses XML from an URL string and also validates it against DTD file. Is there anyway I can validate the same XML files against XSD schema in peoplecode?
I have a requirement of consuming 3rd party XML files adhering to 4 different versions of XML schemas. I don't want to create 4 differnet IB messages(based on these schemas) to consume these files, instead I just want to create a single non-rowset based message without any schema definition, attach this message to a service operation, and this service operation will have a handler which will perform the job of reading the XML file, would validate it against perticular schema based on the version.