I just now started learning web services.I cannot understand the use of xmlns:soap attribute of SOAP element.Thanks.
I just now started learning web services.I cannot understand the use of xmlns:soap attribute
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Those “xmlns:” attributes are not specific to SOAP. They define prefixes that will later be used to refer to XML namespaces. Example:
This defines DTS as a prefix that means the namespace “www.microsoft.com/SqlServer/Dts”. It then refers to the ExecutableType attribute from that namespace.
XML namespaces do the same job as a namespace in C# or C++. They provide a space in which to define names, so that names from one namespace do not conflict with names in another. You could define your own “ExecutableType” attribute, and it could mean something totally different from the one that Microsoft defined. Both could be used in the same document, with no ambiguity about which was which.