|
From: mousa a. <mou...@gm...> - 2010-10-18 14:52:27
|
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
|