RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPHeaders.Send Method

Adds a header to an outgoing message.

Pascal
procedure Send(const Hdr: TSOAPHeader);
C++
__fastcall Send(const TSOAPHeader Hdr);

Call Send to add a header to an outgoing message. On the client, call Send before executing a method on an invokable interface. On the server, call Send before returning from the method that the client invoked. 

Hdr is the header object instance that represents the header you want to add to the outgoing message.

Note: The SetOwnsSentHeaders method controls whether you must free the object that is supplied as the Hdr parameter after sending the message.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!