SOAP Version Determination
The methods for determining SOAP version are detailed below:Determination by Content-Type
Determination by Content-Type
If the SOAP version value is determined by Content-Type, the following rules apply:
- If it starts with
text/xmlvalue, it is SOAP 1.1 - If it starts with
application/soap+xmlvalue, it is SOAP 1.2 - If it starts with
application/xop+xmlvalue and thetypevalue in the Content-Type value containstext/xml, it is SOAP 1.1 - If it starts with
application/xop+xmlvalue and thetypevalue in the Content-Type value containsapplication/soap+xml, it is SOAP 1.2
Determination by Namespace
Determination by Namespace
If the SOAP version value is determined by the namespace value of the SOAP XML, the following rules apply:Example SOAP 1.2 Message:
- If the namespace value is
http://schemas.xmlsoap.org/soap/envelope/, it is SOAP 1.1 - If the namespace value is
http://www.w3.org/2003/05/soap-envelope, it is SOAP 1.2
Operations According to SOAP Version
When the SOAP version value is determined, the following operations are performed:- The namespace value of the SOAP XML is corrected according to the SOAP version.
- According to the SOAP version, the following operations are performed:
SOAP 1.1 Operations
SOAP 1.1 Operations
For requests with SOAP version 1.1:
- If the
soapactionkeyword exists in the request header, the spelling is corrected, otherwise a header is added in the form ofSOAPAction. - The value to be added to the
SOAPActionkeyword is the SOAPAction value belonging to the method from which the message came and obtained by parsing from the WSDL definition. - If there are no quotation marks at the beginning and end of the SOAPAction value, quotation marks are added.
- The Content-Type value is set to
text/xml. - If there is a Character Encoding value, it is added to the Content-Type value, otherwise
;charset=UTF-8value is added by default.
SOAP 1.2 Operations
SOAP 1.2 Operations
For requests with SOAP version 1.2:
- The Content-Type value is set to
application/soap+xml. - If there is a Character Encoding value, it is added to the Content-Type value, otherwise
;charset=UTF-8value is added by default. - The expression
;action=<SOAPAction>is added to the Content-Type value.

