I figured it out: I had to pass in the FIX4.4 data dictionary (as this
sequence is not defined in FIX 4.2).
Thanks,
Rick
Rick Lane wrote:
> Greetings,
>
> I'm building a Message manually, field by field as a string, and then
> using the QuickFix.Message(string) constructor to generate the
> object. I've got it to where it's no longer throwing an
> InvalidMessage exception -- I had to figure out how to calculate the
> checksum -- so now that I have that working, I've noticed that it
> doesn't preserve the repeating groups, but instead just puts
> everything in numerical order. Here is the string I'm using to build
> the message, followed by the generated Message's ToString()
> representation. Notice how the highlighted region -- the repeating
> group -- is broken up in the generated Message. How do I preserve
> this group?
>
> _My String:_
> 8=FIX.4.2|9=385|35=d|1128=8|49=CME|34=1091|52=20071204050744934|911=2038|*864=2|865=5|866=20071015|
> 1145=213000000|865=7|866=20080414|1145=100000000|*1150=9597|1149=9797|1148=9397|1151=EED|55=GG|107=EEDJ8|
> 48=805070|22=8|461=FFDXSX|462=14|207=XCME|827=2|947=USD|562=1|1140=5000|15=USD|1141=1|1022=GBX|264=5|
> 1142=A|1143=10.00|870=3|871=24|872=1|871=24|872=3|871=24|872=4|200=200804|969=0.5|1146=1.25|555=0|10=095|
>
> _GeneratedMessage.ToString():_
> 8=FIX.4.2|9=385|35=d|34=1091|49=CME|52=20071204050744934|15=USD|22=8|48=805070|55=GG|107=EEDJ8|200=200804|
> 207=XCME|264=5|461=FFDXSX|462=14|555=0|562=1|827=2|*864=2|865=5|865=7|866=20071015|866=20080414|*870=3|
> 871=24|871=24|871=24|872=1|872=3|872=4|911=2038|947=USD|969=0.5|1022=GBX|1128=8|1140=5000|1141=1|1142=A|
> 1143=10.00|*1145=213000000|1145=100000000|*1146=1.25|1148=9397|1149=9797|1150=9597|1151=EED|10=095|
>
> This generated message subsequently fails when I try to retrieve the
> group.
>
> Thanks,
> Rick
|