Skip to main content
Avalara Help Center

SOAPAction HTTP Header Field

Overview

Discussion on the SOAPAction HTTP Header Field found in direct SOAP calls.

Environment

Avalara API

Resolution

 

The SOAPAction HTTP request header field can be used to indicate the intent of the SOAP HTTP request. The value is a URI identifying the intent. SOAP places no restrictions on the format or specificity of the URI or that it is even resolvable. An HTTP client MUST use this header field when issuing a SOAP HTTP Request.

For example:

soapaction = "SOAPAction" ":" [ <"> URI-reference <"> ]

More information on the URI-reference is defined in RFC 2396 (located here è http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#RFC2396 )

 

The presence and content of the SOAPAction header field can be used by servers such as firewalls to appropriately filter SOAP request messages in HTTP. The header field value of empty string ("") means that the intent of the SOAP message is provided by the HTTP Request-URI. No value means that there is no indication of the intent of the message.

 

Some Examples:

More Simple Object Access Protocol (SOAP) 1.1 Documentation can be located here:  http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383528