Module for EDI 9.12 | Building Services with EDI Module | Part II WmEDIforTN Package | WmEDIforTN TRADACOMS Folder | Summary of Elements in this Folder | wm.b2b.edi.tradacoms.doc:getDocumentStream
 
wm.b2b.edi.tradacoms.doc:getDocumentStream
WmEDIforTN. Returns the document input stream of a TRADACOMS file that is contained in a bizDocEnvelope.
Input Parameters
bizDocEnvelope
Object The BizDocEnvelope that represents the TRADACOMS file.
Output Parameters
inputStream
Object An input stream containing the entire document that has been written to disk or held in memory. The input stream will contain all content parts, in the original sequence.
encoding
String The encoding that can be used to convert the input stream to a string.
Usage Notes
This service throws an exception if bizDocEnvelope is null or is not a TRADACOMS file.