To learn web service, we need to learn WSDL. This xml file defines the services that we deploy in our web service.
Here, we get a example of WSDL.




















































To me, the defination of namespace is a problem.
My qustions are: For xmlns, xmlns:tns1,xmlns:intf..., What do they mean? How to use them?
After I refered to some articles in internet. I get the answer:
每個namespace屬性都聲明了一個縮略語,用在文檔中。例如"xmlns:xsd"就為
But I get another question that no one reply.
refer
'我們都知道,WSDL應該是格式正確的XML文檔。進一步,還應該把它看作一個Schema,因此,<definitions>元素中可以定義targetNamespace屬性,表示在這個元素下的所有元素都屬于這個目標名稱空間。
xmlns表示缺省的名稱空間,...'
So what's difference between 'targetnamespace' and default 'xmlns'?
?????????????????????????????????????????????????????????
Reference:
http://www.cnblogs.com/bjzhanghao/archive/2004/10/13/51614.html