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