my xml is as follows
—>document
—>document
—>doclist
—>doclist
i use a schema validation whenever i pass values to the above document in webMethods 8,But Isvalid is true even when i pass multiple occurrences for which is actually a document.
My document is normal IS document and i am using pub.schema validation in wm 8 .
Is there any addition property settings need for validation to be failed when any structure mismatch occurs .
i tried generatng xsd using create XSD ,and could see no settings as maxoccurs =1 for .
Is there any propert settings to set a document as maxoccurs-1 inside IS document
or do i have to manually edit xsd and then validate against xsd?i tried generatng xsd using create XSD ,and could see no settings as maxoccurs =1 for .
Is there any propert settings to set a document as maxoccurs-1 inside IS document
or do i have to manually edit xsd and then validate against xsd?
please advice
I am doing the schema validation against xml schema which was got created when i imported wsdl file. What ever the values that i am going to give input it is giving no errors. Even though i was tried with providing wrong datetime format. In case of document type validation instead of schema validation it is behaving correctly. While i am using schema then it is not giving validation error. I am doing in 8.2 v. Is any body observed same behaviour? i am using pub.schema:validate service.