Could anyone tell me how a WS run time environment (Axis,Systinet etc.) validate a WSDL file against the standard WSDL schema. I think they do not bundle WSDL schema file, rather refer directly to the weblink.
I am asking this because I was reading "http://java.boot.by/wsd-guide/ch01.html#c1s1" study guide it mentions the following...
"If a document-literal binding in a DESCRIPTION does not specify the parts attribute on a soapbind:body element, the corresponding abstract wsdl:message MUST define zero or one wsdl arts."
Latest WSDL schema does not mention about parts atribute in "binding" element.Please let me know if this is related to XML schemas concept which i am not getting.
Originally posted by Viru Sagar: How does runtime environment validate the wsdl xml file?
In most cases there is no reason to reference the WSDL during runtime. WSDLs aren't supposed to change that often and if you change a WSDL drastically it is usually simpler to service the new WSDL over an endpoint on a new URI. WSDLs are most often referenced during compile-time when a WSDL-to-code (in the case of Java, WSDL-to-Java) code generator creates a representation that can be manipulated through the host programming language. Obviously the WSDL has to be well-formed XML, otherwise the XML parse would fail. However there may be little point in performing a full-blown XML validation on the (full) WSDL as the code generator will usually not support the complete WSDL functionality laid out in the WSDL XML Schema � so it will simply generate an error when it encounters an element or attribute that it does not understand (or that is missing).
Then of course there are other WSDL aspects not covered by XML validation, like the checking for WS-I Basic Profile compliance . These checks are not mandatory but can be handled by separate vendor tools; otherwise compliance can be checked through some kind of manual review process.