|
From: Grant B. <gbi...@co...> - 2010-10-18 14:58:04
|
Are you trying to manually extract field 35 in your receiver? If you try to manually extract field 35 from the body instead of the header, I could see you getting this error. Really, though, you shouldn't need to extract 35 at all. I suspect you are using MessageCracker improperly. I suggest you review the docs and examples to see how your usage may differ from convention. -Grant On Mon, Oct 18, 2010 at 9:52 AM, mousa alsulaimi <mou...@gm...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > hello , > I'm developing two small applecations a Sender application and an Initiator application . where the sender sends a New Order message and the initiators reply with an Execution report . when sending the new order from sender to initioter have no problem and every thing works fine , how ever when i try to send the execution report , it gets rejected with the following reason : 58=Conditionally Required Field Missing (35) > i have searched for a solution and I found a patch to fix the DefualtMessageFactory and insure that tag 35 is set . now the problem is that when i checked the log files tag 35 is already set and it is not missing . i have tried to set tag 35 manualy using Message.setField(new MsgType("8") , or Message.getHeader.setField(new MsgType("8") , or even > Message.set(new MsgType("8") . every time i get the same error > please Note : for execution i use quickfix.fix42.ExecutionReport Message = new quickfix.fix42.ExecutionReport() ; > > > Sender Log snap shot : > > 20101018-14:23:42: Session FIX.4.2:KMEFIC-CLT->KMEFIC-PMS schedule is daily, 00:00:00-UTC - 23:59:59-UTC > 20101018-14:23:42: Created session: FIX.4.2:KMEFIC-CLT->KMEFIC-PMS > 20101018-14:23:43: Initiated logon request > 20101018-14:23:43: Received logon > 20101018-14:23:56: Rejecting invalid message: quickfix.FieldNotFound: Field [35] was not found in message.: 8=FIX.4.2 9=255 35=8 34=324 49=KMEFIC-PMS 52=20101018-14:23:56.881 56=KMEFIC-CLT 115= 128=t24pms 6=90.6 11=KME101250000401 14=0 17=Mon-Oct-18-17:23:56-AST-2010 20=0 37=2110 38=25000 39=A 40=1 44=2900 48=KW 54=2 55=ZAIN 59=0 60=20101018-14:23:56.881 99=0 150=A 151=25000 10=174 > 20101018-14:23:56: Reject sent for Message 324: Conditionally Required Field Missing: tag=35 > 20101018-14:24:25: Disconnecting: Socket exception (/192.168.2.167:12345): java.io.IOException: An existing connection was forcibly closed by the remote host > > > > > > > > > yours Mousa > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > |