|
From: Steve B. <st...@te...> - 2006-10-24 12:20:57
|
Hi Matyas, According to the FIX 4.4 specification (in the data type descriptions)... "Data fields are always immediately preceded by a length field. The length field should specify the number of bytes of the value of the data field (up to but not including the terminating SOH)." It must be there because the data field could have 0x01 bytes (SOH) in it so the normal parsing can't be used. Regards, Steve -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Matyas Barakonyi Sent: Tuesday, October 24, 2006 5:32 AM To: Oren Miller Cc: qui...@li... Subject: Re: [Quickfixj-users] SEVERE: Invalid message: Actual body length=53, Expected body length=70 QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hi! Thanks! We tried it with the RawDataLength (Tag #96) field, and it works! But I don't see in the FIX 4.4 Documentation, that the RawDataLenght is required for the RawData (Tag #96). We checked the DataDictionary file, and FieldMap.java (in the source), but we didn't find the reason of this problem. Our problem really is that we have to modify our User Specifications because of this, and we have to update it for all of our users... It could be easier to just leave the RawDataLength field for us... If it is not possible, we will use it of course, but if somebody has any ideas, please let us know about it! Thanks, Matyas Oren Miller wrote: > At a length of 53 is exactly where field 96 begins. I wonder if > QuickFIX/J is confused that you have a RawData field (96) that isn't > preceded by a RawDataLength field (95). Any reason for this? > > --oren > > On Oct 19, 2006, at 9:19 AM, Matyas Barakonyi wrote: > >> We have a very strange problem here! We have an acceptor and an >> initiator. They use a same Quickfix binary (1.0.4). BUT, every time, >> when the initiator try to log in, we get the following error: >> SEVERE: Invalid message: Actual body length=53, Expected body >> length=70 > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users |