... controlling the format of the SOAP message sent to and returned by the server. As you saw earlier, the contents of the SOAP messages sent to and from a Web Service are in XML. However, the encoding of ... made by the client, the connection to the server is closed after the response is received from the server. Therefore, if any state must be maintained between the client and the server, the server ... 12 through 22, the content of the response message is read. Because the response stream is not seekable, the total amount of data to be read cannot be determined at the start of the content retrieval....