Interview Questions

How you explain the Content-Type header for a SOAP?

SOAP Interview Questions and Answers


(Continued from previous question...)

How you explain the Content-Type header for a SOAP?

The Content-Type header for a SOAP request and response defines the MIME type for the message and the character encoding (optional) used for the XML body of the request or response.

Syntax
Content-Type: MIMEType; charset=character-encoding

Example
POST /item HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8

(Continued on next question...)

Other Interview Questions