[This message was posted by Mahesh Kumaraguru of <[email protected]> to the "4.0 Session" discussion forum at http://fixprotocol.org/discuss/12. You can reply to it on-line at http://fixprotocol.org/discuss/read/2d6f3646 - PLEASE DO NOT REPLY BY MAIL.]
8=FIX4.2^9=222^35=S^49=Broker^56=Institution^34=251^52=2000072814:06:22^...(Remaining message here) I am using ^ to denote SOH delimiter in the above String. In Java SOH can be defined as public static final char SOH_DELIMITER = '\u0001'; Each Tag=Value par should be followed by SOH character. Looks like the file from which you are trying to extract FIX messages is not storing SOH. > I'm trying to extract FIX message from FILE...Initially i'm trying to > create Message with predefined String like > > String line="8=FIX4.2<SOH>9=222<SOH>35=S<SOH>49=Broker<SOH>56=Instituti- > on<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>1- > 34=10<SOH>135=10<SOH>10=KED<SOH>"; > > Message m=new Message(line); > > But its not Working.(Exeption-SOH not found at end of field: 8) 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.
