Hi!
If the target namespace is set to one namespace, for instance
http://stocksquote.com/StocksQuote.wsdl, and there is no namespace prefix specified for this namespace, then this will be the default namespace and items belonging to this namespace must not be prefixed by any namespace prefix.
In the original WSDL, with this:
targetNamespace="http://stocksquote.com/StocksQuote.wsdl"
xmlns:tns="http://www.stocksquote.com/StocksQuote.wsdl"
The target namespace is not the same as the namespace that has the tns namespace prefix.
The namespace prefix, tns in the above case, is arbitrary. You can give a namespace prefix any name you want. Example:
Usually namespace prefixes are given shorter names...
Hope this clarifies things!