Module for EDI 9.12 | Building Services with EDI Module | Part II WmEDIforTN Package | WmEDIforTN Util Folder | Summary of Elements in this Folder | wm.b2b.editn.util:getContentPartDataAsInputStream
 
wm.b2b.editn.util:getContentPartDataAsInputStream
WmEDIforTN. Returns the content of the Trading Networks BizDocContentPart as an InputStream object.
This service correctly handles content parts that are stored as large data or small data.
Input Parameters
contentPart
Object An IData object that represents a Trading Networks bizDocEnvelope content part. This is the output returned by wm.b2b.edi.tradacoms.doc:getDocumentPartInfo.
Output Parameters
partInputStream
Object An InputStream object that represents the input contentPart.
encoding
String The encoding that can be used to convert the input stream to a string.