Posted: Fri Apr 29, 2005 9:59 am Post subject: INPUT CWF - Repeat Reference failing
Apprentice
Joined: 29 Dec 2004 Posts: 27
I created a CWF message set with following structure:
Quote:
TradeMessage
-RecordCount {Type: int; Physical Type:Integer;Length Count: 1}
-TradeDetails { this is actually a Complex Element which will repeat based on RecordCount value, Repeat Reference Value: RecordCount }
----TickerName { Type: String: LengthCount : 3}
----TickerCompany{ Type: String: LengthCount : 5}
(where TickerName and TickerCompany are elements of TradeDetails complex element)
Environment is WBIMB 5.0 and running on Win XP.
Quote:
Problem is : the incoming value of RecordCount is getting automatically converted into ANSI. This is causing the MRM parser to fail with reason: The reading of a text element of a message failed because the message was too short to contain the expected length of text. Assuming that I sent a test message with following data :
Quote:
1BMGintel
1 is now getting converted to 49 automatically and now the parser is expecting 49 (ANSI equivalent) times TickerName + TickerCompany. Since it does not find MRM fails. MQSI/WMQI never had this problem .....
how should I solve this problem ..... this is so weird.
how should I stop int value getting converted into its ANSI equivalent.
Is there any setting on the broker or message set ??
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum