IBM Support

The output document of the Batch Processor service does not contain the content of the Input_Document

Troubleshooting


Problem

The output document of the Batch Processor service does not contain the content of the Input_Document

Symptom

The output document of the Batch Processor service does not contain the content of the Input_Document in GIS 4.1.1-1984.

 

 

I am attempting to use the batch processor service but while I can get the prefix ("<root>") added, the actual XML document to which I want to add the prefix is not included in the output document of the batch processor service. The XML document to which I should add the prefix is well-formed.

I do not actually want to modify the XML document (apart from adding the prefix) and therefore have created an Input document for the batch processor service that looks like this

<batchProcessor>

<fragment docname="Doc1">

</fragment>

</batchProcessor>

 

 

The BPML looks like this

<process name="TEST_BATCH_PROCESSOR">

<sequence>

<assign to="PrefixDocument"><root></assign>

<operation name="File System Adapter">

<participant name="File_System_Adapter"/>

<output message="FileSystemInputMessage">

<assign to="Action">FS_COLLECT</assign>

<assign to="collectionFolder">c:\collect</assign>

<assign to="deleteAfterCollect">false</assign>

<assign to="filter">REFERENCE.xml</assign>

<assign to="." from="*"></assign>

</output>

<input message="inmsg">

<assign to="." from="*"></assign>

</input>

</operation>

<assign to="Doc1" from="</assign</a>>

<operation name="File System Adapter">

<participant name="File_System_Adapter"/>

<output message="FileSystemInputMessage">

<assign to="Action">FS_COLLECT</assign>

<assign to="collectionFolder">c:\collect</assign>

<assign to="deleteAfterCollect">false</assign>

<assign to="filter">InputDocument.txt</assign>

<assign to="." from="*"></assign>

</output>

<input message="inmsg">

<assign to="." from="*"></assign>

</input>

</operation>

<assign to="InputDocument" from="</assign</a>>

<operation name="BatchProcessor">

<participant name="BatchProcessorService"/>

<output message="outmsg">

<assign to="." from="*"></assign>

<assign to="prefix_document">PrefixDocument</assign>

<assign to="input_document">InputDocument</assign>

</output>

<input message="inmsg">

<assign to="." from="*"></assign>

<assign to="batchResult" from="*"/>

</input>

</operation>

</sequence>

</process>

Error Message

No error messages reported in system.log or wf.log

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","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.

Historical Number

TRB2175

Document Information

Modified date:
25 February 2019

UID

swg21561288