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. When you invoke this service, specify the following as input:
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.