cancel
Showing results for 
Search instead for 
Did you mean: 

Message getting truncated

Former Member
0 Kudos

Hi,

I have a scenarios of xml file to flatfile.

incoming file can have invoice data, when there is single invoice in incoming file it is processing successfully but when there are multiple invoces,

message getting truncated that is I am not seeing the complete message in inbound payload.

Example:

Invoice

     Transaction

               shipping

     Transaction

               shipping

     Transaction

               shipping

If message comes like this it is processing successfully

Invoice

     Transaction

               shipping

     Transaction

               shipping

     Transaction

               shipping

Invoice

     Transaction

               shipping

     Transaction

               shipping

     Transaction

               shipping

If message somes like this, then message is getting truncated like below

Invoice

     Transaction

               shipping

     Transaction

               shipping

    

and throwing unexpected character "<" found.

Help would be appreciated

Thanks

Sarada

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Sarada,

You would have received this error in message mapping test tab. This occurs when you test with a huge payload. Do an end to end test to get exact error.

Do check context handling in your mapping logic. Do a display queue for individual nodes to get the queue list.

Regards,

Pranav

Muniyappan
Active Contributor
0 Kudos

Dear Sarada,

check your input xml file is valid i.e having correct tags syntax.

adding to others suggestion, check your mapping logic also.

Regards,

Muniyappan.

former_member208404
Participant
0 Kudos

Hi Sarada,

I also am thinking on the same line as Kalyan.

Seems the occurance of the Invoice node is not set to 0..Unbounded.

Please check your data type definition.

Hope it helps!

Abhishek

Former Member
0 Kudos

Hello Sarada,

The problem you said is in the Inbound Payload so please check if the occurences of the field in your source data type is proper and is in sync with the Payload you are receiving.

Just a guess.

Thanks,

Kalyan

Harish
Active Contributor
0 Kudos

Hi Sarada,

I am assuming you are getting error in receiver communication channel. Please check the special char in your message, it seems your content conversion failes when it read the special char. Try to change the incoding in comm channel and test.

regards,

Harish