cancel
Showing results for 
Search instead for 
Did you mean: 

Empty document found. Proceed without sending message

Former Member
0 Kudos

Hi All,

I have a file CC and it works fine , simple file.

But when I add Trailer to it... then I have no output file..Instead the CC channel shows that the document is empty and cannot proceed:

Here is the details ( Watch the Trailer added)

ZOUT_MT 11 -


ZIN_MT 11

Recordset 1--1

Rec 1unbounded


Test01 1-----unbounded

key(string) 1...1----


key 1..1(string)

name11(string) 1..1----


name21 1..1(string)

name12(string) 1..1----


name22 1..1(string)

Trail 1...1 -


Trail 1---1

key(string) 1..1 -


key 1..1(string)

test(string) 1...1 -


test1..1 (string)

In Config: Sender File CC

Doc Name :ZOUT_MT

Doc namspace : http://mytest.com/test1

RecordsetName : Recordset

Recordset Structure : Rec,*,Trail,1

Key Field Name : key

Recordset per message : 1

Rec.fieldNames : key,name11,name12

Rec.fieldSeparator : ,

Rec.endSeparator : 'nl'

Rec.processConfiguration: FromConfiguration

Rec.keyFieldValue : 1

Trail.fieldNames: key,test

Trail.endSeparator: 'nl'

Trail.processConfiguration : FromConfiguration

Trail.keyFieldValue : 1

Trail.fieldSeparator : ,

From all this work above , when I put the file having:

1,111,112

1,222,223

1,333,334

1,99

The output file in empty (null)...

Does anyone out there understand why the output file is becoming null..

here is the log I get in workbecnh (commuunication channel)

Audit Log for Message: c1a434f5-ad9f-4a26-08c1-e7d579a5927a

Time Stamp Status Description

21.01.2009 11:48:22 Success Channel ztest_sender_cc: Entire file content converted to XML format

21.01.2009 11:48:22 Warning Channel ztest_sender_cc: Empty document found. Proceed without sending message

21.01.2009 11:48:22 Success File "/mylocation/interface/SCM/somefolder/in/shilpagirlsinput.txt" deleted after processing

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

keyFieldValue must be different for Rec and Trail, keyfield is to distinguish Rec and Trail, their value must be different, otherwise how can you tell which record is Rec, and which is Trail?

Try to put different keyfield value, chang the input file and run the scenario.

Also because you specified cardinality 1...1 for Trail element, and 1 is used as keyfield for Rec, XI thinks there is no Trail in the outbound file, thus it produces empty document warning as Trail is required to be present by cardinality 1...1

Jayson

Answers (1)

Answers (1)

Former Member
0 Kudos

That is correct, thanks you...points awarded