Module for EDI 9.12 | Building Services with EDI Module | Part II WmEDIforTN Package | WmEDIforTN VANConnectivity Folder | Summary of Elements in this Folder | VAN.VANConnectivity:getReportFromVAN
 
VAN.VANConnectivity:getReportFromVAN
WmEDIforTN. Gets VAN-generated reports from the VAN.
Input Parameters
sessionkey
String Unique key that identifies current session information.
reports
String List Name(s) of the reports that you want to retrieve, e.g., statfile.
repDir
String (optional) Local path to the directory from which you pick up VAN-generated reports, e.g., root\records.
saveToDir
String (optional) Local file path directory in which you want to save reports. This is in addition to saving them in the Trading Networks activity log. The activity log truncates messages that are larger than 1KB, so it is recommended that you provide a local file path in which to save reports that exceed 1KB. The default directory is Integration Server_directory\instances\$instance_name\packages\WmEDIforTN\pub\VANReports.
To save reports to a directory other than the default, the directory must be listed in the Integration Server_directory\instances\$instance_name\packages\WmEDIforTN\config\VANReportsDirectory.cnf file. Open the file and add any additional directories in which you want to allow reports to be saved.
transfermode
String The FTP file transfer mode. Specify either ascii or binary.
encoding
String (optional) Character set in which the document is encoded, e.g., ISO-8859-1. This parameter converts the String object to bytes correctly. Specify an IANA-registered character set. If this parameter is null, the default JVM encoding is used.
Output Parameters
None.
Usage Notes
The services VAN.VANConnectivity:getFromVAN and VAN.VANConnectivity:putToVAN invoke this service.