B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | Large Document Handling | Creating Services that Recognize Large Document Handling | Retrieving Document Content from Hard Disk Drive Space
 
Retrieving Document Content from Hard Disk Drive Space
Use the wm.tn.doc:getContentPartData service to retrieve document content from the hard disk drive space.
The following table lists the inputs to specify when you invoke a service:
Input Variable
Description
BizDocEnvelope
BizDocEnvelope Trading Networks created for the document.
partName
Part name of the document content to retrieve.
getAs
Whether to:
*Retrieve a specified number of bytes of the document content (bytes). The service will return a byte array that contains the retrieved bytes.
*Obtain the document content using a Java InputStream object (stream). The service will return a Java InputStream object.
startIndex
If you specified bytes, the index into the document at which to start retrieving content. For example, to retrieve document content from the beginning, specify 0.
byteCount
If you specified bytes, specify the number of bytes of content to retrieve.
You can invoke this service for all documents, regardless of whether a document is considered large or not.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release