[Quickfix-developers] 1.9.2 body lenght mismatch
Brought to you by:
orenmnero
From: Shamanth <sha...@in...> - 2004-10-20 09:23:12
|
Hi =20 I am currently using quickfix 1.8, I wanted to upgrade to 1.9.2, so I = downloaded the source and build them in windows.=20 Both my Initiator and Acceptor are quickfix 1.9.2, I use JNI wrappers, = and not the C++ code directly =20 Problem: When I send a MarketDataRequest, I get the following error in the = Acceptor, I have pasted the original message also below. =20 <20041020-08:37:50, FIX.4.2:ITLServer->ITLClientMD, incoming> = (8=3DFIX.4.2?9=3D151?35=3DV?34=3D2?49=3DITLClientMD?52=3D2004102008:37:50= .617?56=3DITLServer?146=3D1?55=3DEUR/USD?146=3D1?55=3DEUR/USD?146=3D1?55=3D= EUR/USD?262=3D123456?263=3D1?264=3D0?265=3D1?267=3D2?269=3D0?269=3D1?267=3D= 2?269=3D0?269=3D1?267=3D2?269=3D0?269=3D1?10=3D165?) <20041020-08:37:50, FIX.4.2:ITLServer->ITLClientMD, event> (Invalid message: Expected BodyLength=3D197, Recieved = BodyLength=3D151) =20 In my initiator log, I am printing the XML of the message before = sending, I see that it is not getting resolved properly <message> <header> <field number=3D"8"><![CDATA[FIX.4.2]]></field> <field number=3D"35"><![CDATA[V]]></field> <field number=3D"34"><![CDATA[2]]></field> <field number=3D"49"><![CDATA[ITLClientMD]]></field> <field number=3D"52"><![CDATA[20041020-08:37:50.617]]></field> <field number=3D"56"><![CDATA[ITLServer]]></field> </header> <body> <field number=3D"146"><![CDATA[1]]></field> <field number=3D"146"><![CDATA[1]]></field> <field number=3D"262"><![CDATA[123456]]></field> <field number=3D"263"><![CDATA[1]]></field> <field number=3D"264"><![CDATA[0]]></field> <field number=3D"265"><![CDATA[1]]></field> <field number=3D"267"><![CDATA[2]]></field> <field number=3D"267"><![CDATA[2]]></field> <group> <field number=3D"55"><![CDATA[EUR/USD]]></field> </group> <group> <field number=3D"269"><![CDATA[0]]></field> </group> <group> <field number=3D"269"><![CDATA[1]]></field> </group> </body> <trailer> </trailer> =20 Note: If I replace the quickfix.jar, quickfix.lib and quickfix_jni.dll = of 1.8, then every thing works fine. I notice this problem only with = 1.9.2 jars and dlls. =20 This is how the XML looks with 1.8 jars and dlls =20 <message> <header> <field number=3D"8" value=3D"FIX.4.2"/> <field number=3D"35" value=3D"V"/> <field number=3D"34" value=3D"2"/> <field number=3D"49" value=3D"ITLClientMD"/> <field number=3D"52" value=3D"20041020-08:47:49.679"/> <field number=3D"56" value=3D"ITLServer"/> </header> <body> <field number=3D"146" value=3D"1"/> <field number=3D"262" value=3D"123456"/> <field number=3D"263" value=3D"1"/> <field number=3D"264" value=3D"0"/> <field number=3D"265" value=3D"1"/> <field number=3D"267" value=3D"2"/> <group> <field number=3D"55" value=3D"EUR/USD"/> </group> <group> <field number=3D"269" value=3D"0"/> </group> <group> <field number=3D"269" value=3D"1"/> </group> </body> <trailer> </trailer> </message> =20 any idea what could be the problem, has any one else faced the same = problem. =20 thanks R Shamanth |