Invalid message: Actual body

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Invalid message: Actual body

miniman
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


All

I am doing a SecurityDefinition request to a FIX server and when i get the incoming message back i am getting the following.


2007-06-26 15:50:06,080 DEBUG (AnonymousIoService-1-1) [quickfixj.msg.incoming] INCOMING [FIX.4.2:COMPLEXMARKETDATA->MARKETDATACOMPLEX] <8=FIX.4.2|9=229|35=d|49=MARKETDATACOMPLEX|56=COMPLEXMARKETDATA|34=10|52=20070626-14:50:05|320=1182869405955|322=1182869406131-5085|323=4|393=1|207=MEFF Gate|55=M3:M1 9800R|167=Put|207=MEFF Gate|202=9800|205=2011-06-17|228=1|462=MINI IBEX|15=EUR|10=081|>
2007-06-26 15:50:06,080 DEBUG (SocketIoProcessor-0) [quickfix.mina.message.FIXMessageDecoder] detected header: pos=0,lim=251,rem=251,offset=0,state=1
2007-06-26 15:50:06,080 DEBUG (SocketIoProcessor-0) [quickfix.mina.message.FIXMessageDecoder] body length = 228: pos=0,lim=251,rem=251,offset=16,state=3
2007-06-26 15:50:06,080 DEBUG (SocketIoProcessor-0) [quickfix.mina.message.FIXMessageDecoder] message body found: pos=0,lim=251,rem=251,offset=244,state=4
2007-06-26 15:50:06,080 DEBUG (SocketIoProcessor-0) [quickfix.mina.message.FIXMessageDecoder] found checksum: pos=0,lim=251,rem=251,offset=244,state=4
2007-06-26 15:50:06,080 ERROR (AnonymousIoService-1-1) [quickfix.mina.initiator.InitiatorIoHandler] Invalid message: Actual body length=215, Expected body length=229


How does it know the determine the message size of 215 ?


Regards

Ben Cuthbert
Deutsche Bank AG
Corporate & Investment Bank
+44 (0) 20 754 76389 (Tel)
+44 (0) 20 754 74996 (Fax)

---

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|

Re: Invalid message: Actual body

Clive Messer-2
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
On Tuesday 26 Jun 2007, Benjamin Cuthbert wrote:

> How does it know the determine the message size of 215 ?

Ben, you have duplicate tag '207' in received message. This results in mina
successfully reading message, but bodylength() validation failure.

Regards

Clive
--
Clive Messer <[hidden email]>
ObjectSoft Systems Ltd

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users