Hello, All,
Thank you for your response. The IS version I am with is IS6.0.1.
When I validate the xml document of phone number against the schema, I don’t have any service exception as RMG described. What I am complaining about is, when xml file with an empty phonenumber element is validated against schema, I am expecting isValid return false and errors be returned. (Which is the case with XMLSPY), because in the schema, it is defined at least one of the child element should appear for telephone number. However, with pub.schema.validate service, it always return isValid as true.
I can only create the schema in WM Developer by loading xsd file and it always create ELEMENTS/PHONENUMBERS/Anonymous but not COMPLEXTYPES even I define so in xsd file. I would like your advice if you know how to create the COMPLEXTYPES in schema and if that is the key of this problem.
Thanks
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods