INetHttpCommand.OuterBody

Syntax

OuterBody: Boolean;

Description

The OuterBody property determines whether SOAP request basic tags will be added to the request being executed.

Comments

By default the checkbox is set to False, the <soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"><soapenv:Body> header is added to the request, it is followed by the request, the INetCommand.Start sent method, and then the closing tags are added: </soapenv:Body></soapenv:Envelope>.

On selecting True for the property, tags will not be added to the request. True is used when there is no need to add tags to the request, for example, on executing GET requests or if there is a request specified in the INetCommand.Start method is fully created.

Example

The example of use is given in description of the INetHttpCommand.Credential property.

See also:

INetHttpCommand