Preparing to Retrieve Documents from a VAN
To retrieve inbound EDI documents from a VAN, invoke the VAN.VANConnectivity:getFromVAN service. You can schedule this service to run when you want to retrieve inbound EDI documents from the VAN. To do so, set up a user task for the service. For information about how to use Integration Server Administrator to set up a user task, see the webMethods Integration Server Administrator’s Guide for your release.
The input parameters that you supply for the getFromVAN service identify the VAN to which you want to connect to retrieve EDI documents. The following table describes other input parameters to the getFromVAN service that you can use to specify optional actions that you might want the service to perform in addition to retrieving the inbound EDI documents. To learn about all the input parameters to this service, see webMethods Module for EDI Built-In Services Reference .
Use this input parameter... | To have the getFromVAN service perform this optional action... |
saveInboundToTN | Submit the retrieved inbound EDI documents to Trading Networks for processing. If you set the saveInboundToTN parameter to yes, the retrieved inbound EDI documents are processed through Trading Networks like any other inbound EDI documents. |
getReport | Get VAN-generated reports after receiving the inbound EDI documents. |
In addition to, or instead of, invoking the
getFromVAN service, you can have the
VAN.VANConnectivity.putToVAN service retrieve waiting inbound EDI documents when it delivers outbound EDI documents to the VAN. For more information about the
putToVAN service, see
Preparing to Deliver Documents to
VANs.
Note: Because the putToVAN service is registered in Trading Networks as a scheduled delivery service and assigned the name VANFTP, this chapter also refers to the putToVAN service as the VANFTP service.