Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between the W3 and xmlsoap.org schemas?

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?

like image 918
wds Avatar asked Mar 18 '09 09:03

wds


People also ask

What is Xmlsoap?

A SOAP message is an ordinary XML document containing the following elements: An Envelope element that identifies the XML document as a SOAP message. A Header element that contains header information. A Body element that contains call and response information. A Fault element containing errors and status information.

What is a SOAP namespace?

SOAP defines two namespaces: The SOAP envelope, the root element of a SOAP message, has the following namespace identifier: "http://schemas.xmlsoap.org/soap/envelope" The SOAP serialization, the URI defining SOAP's serialization rules, has the following namespace identifier: "http://schemas.xmlsoap.org/soap/encoding"

What is schema in Web technology?

In computer programming, a schema (pronounced SKEE-mah) is the organization or structure for a database, while in artificial intelligence (AI) a schema is a formal expression of an inference rule. For the former, the activity of data modeling leads to a schema.

What is Xs in XML?

1.1 The Schema Namespace ( xs ) The XML representation of schema components uses a vocabulary identified by the namespace name http://www.w3.org/2001/XMLSchema . For brevity, the text and examples in this specification use the prefix xs: to stand for this namespace; in practice, any prefix can be used.


1 Answers

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

like image 178
Matt Solnit Avatar answered Nov 15 '22 10:11

Matt Solnit