IBM Support

GetDocumentInfo Service error when XSLT service is used within a transaction in Sterling B2B Integrator

Troubleshooting


Problem

When XSLT Service is used within Begin and End Transaction Service, the GetDocumentInfo Service reports an error.

Symptom

Here is a sample business process where GetDocumentInfo Service will report error:

<operation name="Begin Transaction Service">
<participant name="BeginTransactionService"/>
<output message="BeginTransactionServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="DISTRIBUTED">TRUE</assign>
<assign to="ON_FAULT">ROLLBACK</assign>
<assign to="START_TRANSACTION">TRUE</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>

<operation name="XSLTServiceTest">
<participant name="XSLTService"/>
<output message="XSLTServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="input_pd_xpath">/</assign>
<assign to="xml_input_from">ProcData</assign>
<assign to="xslt_name">Test_xslt</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>

<operation name="Get Document Information Service">
<participant name="GetDocumentInfoService"/>
<output message="GetDocumentInfoServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="BodyName">TestMsg.txt</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>

<operation name="End Transaction Service">
<participant name="EndTransactionService"/>
<output message="EndTransactionServiceTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="END_TRANSACTION">TRUE</assign>
<assign to="ROLLBACK_TRANSACTION">FALSE</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>

The error thrown by GetDocumentInfo service can be seen in Status report :

com.sterlingcommerce.woodstock.workflow.DocumentNotFoundException: 000110011518 WORKFLOW.WORKFLOW.ERR_Document_DocumentNotFoundException22 Initial document for DocId 72815013f518956ffnode1 not found. It may have been archived.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Data management - Data tracking","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.4.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
08 November 2019

UID

swg21649939