Skip to main content

XML namespace

SOAP 1.2 envelope

The SOAP 1.2 envelope namespace, and the reason a 1.1 endpoint rejects a 1.2 message outright.

xmlns:env="http://www.w3.org/2003/05/soap-envelope"

SOAP 1.2 changed the envelope namespace, restructured faults into <env:Code> and <env:Reason>, and moved from the text/xml media type to application/soap+xml.

Because the namespace is the version marker, a client that sends this URI to a SOAP 1.1 service gets a VersionMismatch fault rather than a parse error — the message is valid XML, just addressed to the wrong protocol version.

URI
http://www.w3.org/2003/05/soap-envelope
Prefix
env
Elements
EnvelopeHeaderBodyFaultCodeReason

Specification: SOAP 1.2 Part 1

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.