Trading Networks 10.3 | Administering and Monitoring B2B Transactions | webMethods Module for EDIINT | Before You Can Transport Documents Using EDIINT | Restarting AS2 Message Transmission | Invoking the Send Service to Restart Message Transmission
 
Invoking the Send Service to Restart Message Transmission
Using the wm.EDIINT:send service to restart AS2 message transmission requires setting the enableAS2Restart input parameter to true. The following table explains how AS2 message transmission is restarted when the send service is invoked.
Step
Description
1
For every message that is restart-enabled, Module for EDIINT adds to the message headers an ETag header and to the bizdoc an ETag attribute, both of which contain a unique transfer ID, the ETag ID.
2
The module sends the receiver an HTTP HEAD request for the number of bytes that have already been transmitted.
3
The receiver (either another Module for EDIINT or a similar EDIINT product) responds to the HEAD request with a Content-length header specifying the number of bytes that have already been received for the particular ETag ID.
4
Module for EDIINT uses the value in the Content-length header to determine at what point to resume transmission.
For more information about defining send service parameters, see wm.EDIINT:send.