Skip to main content

XML namespace

SOAP 1.1 envelope

The SOAP 1.1 envelope namespace. Distinct from SOAP 1.2 — the version is encoded in the URI.

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

SOAP has no version attribute. The envelope namespace URI is the version, so this string is how you tell a SOAP 1.1 message from a 1.2 one, and mixing the two in one message is an error rather than a compatibility mode.

The prefix is only convention; you will see soap:, soapenv:, SOAP-ENV: and s: for the same URI. Compare the URI, never the prefix.

URI
http://schemas.xmlsoap.org/soap/envelope/
Prefix
soap
Elements
EnvelopeHeaderBodyFault

Specification: SOAP 1.1 note

Get started

Bring order to the XML your team can't afford to ignore.

Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.