Dear developers,
may i know wat is the main use of Namespace in declaration... for example:
[WebService (Namespace=http://www.cantaso.com/"]...
the Namespace is for...?? does it affect the our compilation..?
pls advice and thanks a lot..
cheers,
Wong CS
Scott M. - 06 Mar 2005 04:16 GMT
The long answer (which I won't go into here) has to do with the fact that in
XML (which is how WebService data is transmitted) allows for the user to
create their own markup elements and attributes and this opens the door for
ambiguity if/when this Web Service XML should need to inter-mingle with
other XML.
The short answer is that an XML namespace serves the same purpose as .NET
namespaces, it just uses a URL as the namespace format, rather than a dot
notation to do it.
> Dear developers,
>
[quoted text clipped - 6 lines]
> cheers,
> Wong CS