xml - Does a wsdl needs to be valid wsdl file in order for it to work -


my question may sound odd @ first place need make sure.

i received following wsdl client can import in soapui , use in application. when try validate wsdl file, throws 12 errors

<wsdl:types>     <schema  targetnamespace="http://abc.com:9080/product/services/12webservice/types/"         xmlns="http://www.w3.org/2001/xmlschema">         <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>         <element name="message">             <complextype>                 <sequence>                      <any minoccurs="0"/>                 </sequence>             </complextype>         </element>     </schema>     <schema targetnamespace="http://abc.com:9080/nproduct/services/12webservice/types/"         xmlns="http://www.w3.org/2001/xmlschema">         <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>         <element name="response">             <complextype>                 <sequence>                      <any minoccurs="0"/>                 </sequence>             </complextype>         </element>     </schema> </wsdl:types> <wsdl:message name="message">     <wsdl:part name="message" element="types:message"/> </wsdl:message> <wsdl:message name="response">     <wsdl:part name="response" element="types:response"/> </wsdl:message> <wsdl:porttype name="12webserviceimpl">     <wsdl:operation name="process12">         <wsdl:input message="tns:message" name="message"/>         <wsdl:output message="tns:response" name="response"/>         <wsdl:fault message="tns:response" name="response"/>     </wsdl:operation> </wsdl:porttype> <wsdl:binding name="12webservicesoapbinding" type="tns:12webserviceimpl">     <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>     <wsdl:operation name="process12">         <wsdlsoap:operation soapaction="http://abc.com:9080/product/services/12webservice/process12"/>         <wsdl:input name="message">             <wsdlsoap:body namespace="http://abc.com:9080/product/services/12webservice" use="literal"/>         </wsdl:input>         <wsdl:output name="response">             <wsdlsoap:body namespace="http://abc.com:9080/product/services/12webservice" use="literal"/>         </wsdl:output>         <wsdl:fault name="response">             <wsdlsoap:body namespace="http://abc.com:9080/product/services/12webservice" use="literal"/>         </wsdl:fault>     </wsdl:operation> </wsdl:binding> <wsdl:service name="12webservice">     <wsdl:port binding="tns:12webservicesoapbinding" name="12webservice">         <wsdlsoap:address location="http://abc.com:9080/product/services/12webservice"/>     </wsdl:port> </wsdl:service> 

so, wsdl need valid. shall go client correct it?

i think wsdl file have validated.
xml naming rules: http://www.w3schools.com/xml/xml_elements.asp

xml naming rules xml elements must follow these naming rules:

names can contain letters, numbers, , other characters
names cannot start number or punctuation character
names cannot start letters xml (or xml, or xml, etc)
names cannot contain spaces
name can used, no words reserved.


Comments