Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | Large Document Handling | Creating Services that Recognize Large Document Handling | Retrieving the Content for Document Delivery
 
Retrieving the Content for Document Delivery
To deliver a document, you need the original document content (that is., the content Trading Networks received before processing). Use thewm.tn.doc:getDeliveryContent service to retrieve the document content.
The following table lists the inputs to specify when you invoke a service:
Input Variable
Description
BizDocEnvelope
BizDocEnvelope Trading Networks created for the document.
You can invoke this service for all documents. The service determines whether the document is considered large or not. If the document is not considered large, the service returns a byte array that contains the retrieved delivery content. If the document is considered large, the service retrieves the delivery content using a Java InputStream object.