5

When creating a wsdl file in eclipse it sets the name spaces to:

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"

Why exactly is it using schemas.xmlsoap.org and not the relevant w3 schemas?

Joachim Sauer
  • 302,674
  • 57
  • 556
  • 614
wds
  • 31,873
  • 11
  • 59
  • 84
  • Does this answer your question? [I am confused about SOAP namespaces](https://stackoverflow.com/questions/403980/i-am-confused-about-soap-namespaces) – Marcus Griep May 16 '20 at 20:02

1 Answers1

13

The "schemas.xmlsoap.org" namespaces are for SOAP 1.1. See the W3C documentation for more info.

The "w3c.org" namespaces are used for SOAP 1.2. According to Wikipedia, SOAP did not become a W3C recommendation until version 1.2.

Trivia: the domain "xmlsoap.org" is owned by Microsoft (try running a whois).

EDIT: It turns out this question is a duplicate of I am confused about SOAP namespaces

Community
  • 1
  • 1
Matt Solnit
  • 32,152
  • 8
  • 53
  • 57
  • Ah I did not find that question when googling. Thanks though. I voted to close my own question, assuming that's proper. – wds Mar 19 '09 at 08:49