Soap.InvokeRegistry.IObjConverter.AddAttachment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddAttachment(Attachment: TSOAPAttachment; const AContentId: string);

C++

virtual void __fastcall AddAttachment(TSOAPAttachment* Attachment, const System::UnicodeString AContentId) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry IObjConverter

Description

Stores information about a SOAP attachment so that it is included in the final message that is created.

AddAttachment stores a SOAP attachment so that it can be used to generate part of the multipart form that includes the SOAP envelope as another of its parts.

Attachment is the attachment that should be added to the multipart form.

AContentId is a string that uniquely identifies the attachment. It is added as a header to the part of the form that contains the attachment so that XML in the SOAP envelope can refer to the attachment. When interpreting the encoded SOAP envelope, this value is passed to the FindAttachment method so that the information in the attachment part can be used to recreate the TSOAPAttachment instance.

See Also