Problem : The prefix “wsdl” for element “wsdl:definitions” is not bound

Problem : The prefix “wsdl” for element “wsdl:definitions” is not bound

While parsing my WSDL I am getting the following error

The prefix “wsdl” for element “wsdl:definitions” is not bound

Can someone please let me know the reason for the same.

Thank you


Solution: The prefix “wsdl” for element “wsdl:definitions” is not bound

the prefix wsdl: indicates a namespace.
The prefix requires a binding to a namespace, in order to have meaning

does not mean anything

http://schemas.xmlsoap.org/wsdl/“…>
does mean something since now you now that in this XML document
the wsdl: prefix means that the element is in this namespace “http://schemas.xmlsoap.org/wsdl/