posted 16 years ago
I know the meaning of targetnameSpace. Suppose I have used the following elements in the XML
<employee>
Raj
</employee>
Now the XML parser will know the above element is belong to the targetnameSpace.
But what my doubt is what is the meaning of urn:fibonacci in the above xml? Which thing this points to? Whether it's just like a package name and we can give anything we want?
for example: In the below the namespace xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" if I use like: <wsdlsoap:example>blah..</wsdlsoap:example>, then the meaning is the example should be an element of wsdlsoap.
Here my doubt is it's pointing to an url, but I have not connected to an internet, then how it will know what are the elements available in wsdlsoap.
What actually the below lines means? Whether any resources will be there in the follwoing url?
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
I have clicked the above url and a page opened and seems to be an ordinary page. Whether the namespace should be always point to an url?
Why should we use the above two namespaces?. whether the following targetnampSpace is not enough?