application/soap+xml

All MIME types
Application · Standards tree · W3C SOAP 1.2header only

Media type / application

application/soap+xml

SOAP 1.2 envelopes, where the action parameter carries what SOAP 1.1 put in a SOAPAction header.

Served inline: Browsers have no renderer for this, so it downloads even without a Content-Disposition header. That makes it the quiet default for anything you do not want opened in place.

Browser behaviour

Downloads

Charset

charset required

Compression

Compress in transit

Send it like this

Content-Type: application/soap+xml; charset=utf-8

Send `; charset=utf-8`. Without it the receiver falls back to its own default — for some text types that default is us-ascii, and any non-ASCII character then renders wrong.

Handling verdict

InlineDownloads

Browsers have no renderer for this, so it downloads even without a Content-Disposition header. That makes it the quiet default for anything you do not want opened in place.

Charsetcharset required

Send `; charset=utf-8`. Without it the receiver falls back to its own default — for some text types that default is us-ascii, and any non-ASCII character then renders wrong.

CompressionCompress in transit

The payload is text-like or otherwise repetitive, so gzip or Brotli removes real bytes. Enable it at the server or CDN.

NameStandards tree

Registered with IANA through a public review process, so the name is stable and every implementation can rely on it meaning the same thing.

Anatomy of the name

RFC 6838

Top-level type

application

Application

Subtype

soap+xml

Registered in the standards tree.

Structured syntax

+xml

The payload is well-formed XML, so generic XML tooling — parsers, XPath, schema validators — applies.

Parameters

action

Defined for this type in addition to any charset rule above.

Response headers

Content-Type: application/soap+xml; charset=utf-8
X-Content-Type-Options: nosniff
Content-Disposition: attachment; filename="example"
Vary: Accept-Encoding

nosniff stops the browser second-guessing the type you declared, which is what makes the rest of this reliable. Content-Disposition: attachment names the saved file and removes any doubt about rendering.

Server configuration

route header

nginx

# application/soap+xml has no file extension — set it on the route instead
add_header Content-Type "application/soap+xml; charset=utf-8";

Apache

# application/soap+xml has no file extension — set it on the handler instead
Header set Content-Type "application/soap+xml; charset=utf-8"

Caddy

header Content-Type "application/soap+xml; charset=utf-8"

Related media types

8
Familyapplication
Treestandards
Suffix+xml
Inlinedownload