Writing the order files
The Client system must be aware that Jes may scan the shared directory for files at any time, and must ensure that Jes cannot read a partially saved file. It is recommended that, when writing a file to the shared directory the Client system opens the file with shared access denied.
To minimise conflict between the Client system and Jes, it is highly recommended that the Client system write the request XML file into a directory using an .in extension, then rename the file to have an .xml extension once the file is fully written and closed.
Uniquely IDENTIFYING REQUESTS
It is recommended the Client system use a unique base file name for each request.
Uniquely identifying orders
For the case of submitting orders, the order can be uniquely identified in one of two ways:
1.The Client system can either fill in the SubmitRefID element in the xml request.
or
2.Simply ensure that the request XML file name is unique, and leave the SubmitRefID element out of the xml document. In this case, will set the contents of the SubmitRefID element to be the base file name of the request, in which case it is critical the Client system use a unique file name for each submit order request. |