Professional Documents
Culture Documents
https://www.ibm.com/support/knowledgecenter/SS3JSW_6.0.3/integrating/integrating/integrator/Get_Doc_Info_svc.html 1/12
2/17/2021 Get Document Info Service
The Get Document Info service provides information about the primary document. You can
query the service about many types of information, including DocumentName,
DocumentBodyLength, and DocumentID.
The following table provides an overview of the Get Document Info service:
• DocumentBodyLength
• DocumentId
• DocumentSubject
• DocumentCreateTime
• DocumentCharEncoding
• DocumentContentSubType
• DocumentPreviousDocId
• DocumentLength
• Correlations
• Storage Type
• Node name
• File name
• Storage time
https://www.ibm.com/support/knowledgecenter/SS3JSW_6.0.3/integrating/integrating/integrator/Get_Doc_Info_svc.html 2/12
2/17/2021 Get Document Info Service
• DocumentCharEncoding
• DocumentContentSubType
Preconfigured? Yes
• Success
• Error
Restrictions None
2. Configure the Get Document Info service. See Configuring the Get Document Info Service.
Field Description
Default is false.
hostname:e52fd2:fd70c53c8c:-7648.
Note
Default is true.
Once configured, these parameters are passed from the business process to the Get Document
Info service.
The following parameters are passed from the Business Process to the Get Document Info
service:
Field Description
• bodyName
• char_encoding
• subject
• content_type
• content_subtype
Field Description
Example 1
Example of the getdocinfo service that shows processing of the primary document created by
the xmlencoder.
https://www.ibm.com/support/knowledgecenter/SS3JSW_6.0.3/integrating/integrating/integrator/Get_Doc_Info_svc.html 9/12
2/17/2021 Get Document Info Service
<process name="GetDocumentInfoService_01">
<sequence name="simple">
<operation name="Set Document">
<participant name="XMLEncoder"/>
<output message="XMLEncoderTypeInputMessage">
<assign to="mode">process_data_to_document</assign>
<assign to="root_element">Document1</assign>
<assign to="xPath">/ProcessData</assign>
<assign to="." from="*"/>
</output>
<input message="inmsg">
<assign to="." from="*"/>
</input>
</operation>
<operation name="SetContentType">
<participant name="GetDocumentInfoService"/>
<output message="xout">
<assign to="." from="*"/>
<assign to="DocumentContentType">text</assign>
<assign to="DocumentContentSubType">plain</assign>
FTP Client to="DocumentCharEncoding">iso-8859-1</assign>
<assign PWD Service
</output>
FTP Client RMD Service
<input message="xin">
FTP Client QUOTE Service
<assign to="." from="*"/>
https://www.ibm.com/support/knowledgecenter/SS3JSW_6.0.3/integrating/integrating/integrator/Get_Doc_Info_svc.html 11/12
2/17/2021 Get Document Info Service
Example 3
Example of the correlation for the primary document that is created by the translator.
Find a technical tutorial in IBM Developer Network with users and IBM experts in our
English
https://www.ibm.com/support/knowledgecenter/SS3JSW_6.0.3/integrating/integrating/integrator/Get_Doc_Info_svc.html 12/12