Discuss this help topic in SecureBlackbox Forum

TElAS2Client.Send

TElAS2Client     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Sends AS2 message and receives an AS2 synchronous receipt if available.

Declaration

[C#/Java]
    int Send(string URL, System.IO.Stream Message, System.IO.Stream Receipt);
    int Send(string URL, string MessageFile, string ReceiptFile);

[VB.NET]
    Function Send(ByVal URL As String, ByVal Message As System.IO.Stream, ByVal Receipt As System.IO.Stream) As Integer
    Function Send(ByVal URL As String, ByVal MessageFile As String, ByVal ReceiptFile As String) As Integer

[Pascal]
    function Send(const URL : string; Message : TStream; Receipt : TStream): integer;
    function Send(const URL : string; const Message : string; const Receipt : string): integer;

[C++]
    int32_t Send(const std::string &URL, TStream &Message, TStream &Receipt);
    int32_t Send(const std::string &URL, TStream *Message, TStream *Receipt);
    int32_t Send(const std::string &URL, const std::string &MessageFile, const std::string &ReceiptFile);

[PHP]
    integer Send(string $URL, TStream $Message, TStream $Receipt)
    integer Send(string $URL, string $MessageFile, string $ReceiptFile)

Parameters

  • URL - URL where the message should be sent
  • Message - Message to be sent
  • Receipt - Message receipt
  • MessageFile - ...
  • ReceiptFile - ...

Return value

    HTTP result code

Description

    Use this method to send an AS2 message.

See also:     SendReceipt    

Discuss this help topic in SecureBlackbox Forum