EDI Integrator V9 - Online Help
Available for:
EDI Integrator V9
Questions / Feedback?

SendReceipt Method

Sends an asynchronous receipt.

Syntax

[VB.NET]
Public Sub SendReceipt()
[C#]
public void SendReceipt();

Remarks

SendReceipt sends an asynchronous receipt to the URL.

This method is typically used in conjunction with AS4Server to send an asynchronous receipt after receiving a message. The receipt will be created at the time of the incoming request, then saved for later use. When the receipt is to be sent populate Receipt and call this method.


//Send an asynchronous receipt
client.URL = ""http://www.company.com:9090/msh"";
client.Receipt = new EBReceipt(server.Receipt.RefToMessageId, server.Receipt.Content);
client.ReceiptReplyMode = As4clientReceiptReplyModes.rrmAsync;
client.SendReceipt();

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0