procedure AddSoapHeader(Value: string);
virtual void __fastcall AddSoapHeader(System::UnicodeString Value) = 0 ;
Adds a specified header to the SOAP envelope portion of the emerging .
Call AddSoapHeader to add an arbitrary header to the SOAP envelope portion of an emerging multipart form. This method should not be called until after a call to the CreateMimeStream method initializes the emerging multipart form.
Value is the text of the header to add to the SOAP envelope.
Typically, this method is called to add the ContentType header to the SOAP envelope when its value is not known at the point when the application calls CreateMimeStream.
Note: After all calls to AddSoapHeader have been made to add headers to the SOAP envelope, the application must call the FinalizeStream method to allow the MIME attachment handler to finish generating the multipart form. Only after the call to FinalizeStream can the application read the content of the multipart form by calling the GetMIMEStream method.