[This message was posted by Paul Raskin of RJ O'Brien <[email protected]> to the "General Q/A" discussion forum at http://fixprotocol.org/discuss/22. You can reply to it on-line at http://fixprotocol.org/discuss/read/4932c2cc - PLEASE DO NOT REPLY BY MAIL.]
Hi Sachin, The value for tag 8 should be FIX.4.2, but you had FIX4.2 (notice the extra period). The value of the field CheckSum (tag 10) should be an integer value, not a string (you have 10=KED). Your message should look like this (with a new value for tag 9): 8=FIX.4.2 9=138 35=S 49=Broker 56=Institution 34=251 52=2000072814:06:22 117=XXX 131=YYY 55=AA 200=199901 202=25.00 201=1 132=5.00 133=5.25 134=10 135=10 10=8 I'm assuming you're using QuickFix since you are using a Message object, but I may be mistaken. Regardless, the message should parse correctly with the changes I've noted. Please let me know if it still doesn't work. Paul > Hi everybody > > I'm trying to extract FIX message from file i then send it to the > Fix Acceptor, Initially i'm only trying to create Message object > with string as > > line="8=FIX4.2<SOH>9=222<SOH>35=S<SOH>49=Broker<SOH>56=Institution<SOH- > >34=251<SOH>52=2000072814:06:22<SOH>117=XXX<SOH>131=YYY<SOH>55=AA<SOH>- > 200=199901<SOH>202=25.00<SOH>201=1<SOH>132=5.00<SOH>133=5.25<SOH>134=1- > 0<SOH>135=10<SOH>10=KED<SOH>"; > > > Message m=new Message(line); > > But its not working.. please let me know where i'm going wrong [You can unsubscribe from this discussion group by sending a message to mailto:[email protected]] -- You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fix-protocol?hl=en.
