I trying to learn SOAP from http://www.w3schools.com . The tutorials are not bad but I still have some questions.
<?xml version="1.0"?> <soap:Envelope xmlns:soap="[URL]http://www.w3.org/2001/12/soap-envelope[/URL]" soap:encodingStyle="[URL]http://www.w3.org/2001/12/soap-encoding[/URL]"> <soap:Body> <m:GetPrice xmlns:m="[URL]http://www.w3schools.com/prices[/URL]"> <m:Item>Apples</m:Item> </m:GetPrice> </soap:Body> </soap:Envelope>
1) What EXACTLY is the purpose of namespaces?
2) Why use multiple namespaces? Why is there
a m: namespace in the code?
3) Do I have to create the uri m: refers to?
I do not know if my questions make sense.
But any help would be appreciated. Thanks in advance.