[Quickfix-developers] Problems creating Quickfix.Message from string
Brought to you by:
orenmnero
|
From: Andrei G. <an...@gm...> - 2006-12-13 20:47:29
|
Hi there,
I may be missing something obvious, but when building a
QuickFix.Message from a string, I am getting a QuickFix.InvalidMessage
thrown. The following snippet depicts the problem:
-----------------------------------
string message =3D
"8=3DFIX.4.2=019=3D183=0135=3DD=01115=3DPBRO_BMF_USR01=01128=3DPBRO_ROFEX_C=
LN=01116=3DBMFACCOUNT01=0111=3D4E7AF5928B1948A79415CA02867D6E37=011=3DBMFAC=
COUNT01=0121=3D1=0155=3DSMar7=0154=3D1=0160=3D20061201-16:26:11=0138=3D30=
=0140=3D2=0144=3D30=0110=3D103=01";
QuickFix.DataDictionary dic =3D
new DataDictionary("FIX42.xml");
try
{
Message quickFixMessage =3D
new QuickFix.Message(
message, dic);
}
catch(Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
}
-----------------------------------
I routinely do this kind of stuff, so it must be something specific to
this message.
Any help will be much appreciated.
Regards,
Andrei Goldchleger
|