Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Doc Folder | Summary of Elements in this Folder | wm.tn.doc:getDeliveryContent
 
wm.tn.doc:getDeliveryContent
Retrieves the delivery content of the specified document.
In addition to returning delivery content, this service returns the content type and ftp file extension of the given document.
Input Parameters
bizdoc
Object The document for which to get the delivery content. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
Output Parameters
deliveryContent
Object The delivery content of the specified document. deliveryContent can be in one of the two formats byte[] (mostly for small documents) and InputStream (mostly for large documents).
content-type
String Returns the content type of this document, which can be used in transport headers.
ftpFileExtension
String Returns the file extension that can used when naming files that are sent through ftp transport.