Analysis of soap http Binding HTTP Communication over TCP/IP. The HTTP client uses TCP to connect to the HTTP server. After the connection is established,
The client can send an HTTP request message to the server: POST/item HTTP/1.1 Host: 189.123.345.239Content-Type: text/plainContent-Length: 200. Then the server processes the request, then, send an HTTP Response to the client. This response contains the status code indicating the Request status: 200 OK www.2cto.com Content-Type: text/plainContent-Length: 200 in the preceding example, the server returns a 200 status code. This is the standard success code of HTTP. If the server cannot decode the request, it may return a message similar to this: 400 Bad RequestContent-Length: 0 soap http BindingSOAP method refers to the HTTP Request/response that complies with the SOAP encoding rules. HTTP + XML = SOAPSOAP requests may be http post or http get requests. The http post request requires at least two HTTP headers: Content-Type and Content-Length. The Content-Type header of the Content-TypeSOAP request and response defines the MIME Type of the message and the character encoding of the XML Body Used for the request or response (optional ). Syntax Content-Type: MIMEType; charset = character-encoding example www.2cto.com POST/item HTTP/1.1Content-Type: application/soap + xml; charset = bytes of the request and response Content-Length header that specifies the request or response body. Syntax Content-Length: bytes example POST/item HTTP/1.1Content-Type: application/soap + xml; charset = utf-8Content-Length: 250 from w3schoo Network