{{Quickfixn}} RES: RES: RES: RES: Quickfixn Digest, Vol 9, Issue 17
Felipe Soares
felipe.soares at traderdata.com.br
Tue Jul 31 06:38:22 PDT 2012
The exception is exactly at m.Validate();
*De:* KAPIL KUMAR LALWANI [mailto:kaplalwani at yahoo.co.in]
*Enviada em:* terça-feira, 31 de julho de 2012 10:24
*Para:* Felipe Soares
*Cc:* Mailing list for QuickFIX/n
*Assunto:* Re: RES: RES: {{Quickfixn}} RES: Quickfixn Digest, Vol 9, Issue
17
Hi,
Is m.Validate() is working fine or the exception is in this only ??
Your Sincerely,
Kapil Kumar Lalwani
“Enjoy the WORK you do, Do the BEST you can.”
------------------------------
*From:* Felipe Soares <felipe.soares at traderdata.com.br>
*To:* KAPIL KUMAR LALWANI <kaplalwani at yahoo.co.in>
*Sent:* Tuesday, 31 July 2012 6:48 PM
*Subject:* RES: RES: {{Quickfixn}} RES: Quickfixn Digest, Vol 9, Issue 17
Unhandled Exception: QuickFix.InvalidMessage: Invalid message: BodyLength
or Che
ckSum missing ---> QuickFix.FieldNotFoundException: field not found for
tag: 9
at QuickFix.FieldMap.GetInt(Int32 tag)
at QuickFix.Message.Validate()
--- End of inner exception stack trace ---
at QuickFix.Message.Validate()
at ConsoleApplication21.TCPReplayApp.RequestSeqNum(Int32 seqnum)
at ConsoleApplication21.Program.Main(String[] args)
*De:* KAPIL KUMAR LALWANI [mailto:kaplalwani at yahoo.co.in]
*Enviada em:* terça-feira, 31 de julho de 2012 10:11
*Para:* Felipe Soares
*Cc:* Mailing list for QuickFIX/n
*Assunto:* Re: RES: {{Quickfixn}} RES: Quickfixn Digest, Vol 9, Issue 17
Hi
Try this one ...
QuickFix.Message m = new QuickFix.Message();
m.Header.SetField(new BeginString("FIX.5.0SP2"));
m.SetField(new QuickFix.Fields.StringField(35, "BW"));
m.SetField(new QuickFix.Fields.StringField(1346, "TRADER"),
true); //AppReqId
m.SetField(new QuickFix.Fields.IntField(1347, 0), true);
//ApplReqType
m.SetField(new QuickFix.Fields.IntField(1182, 10), true);
//ApplBegSeqNum
m.SetField(new QuickFix.Fields.IntField(1183, 20), true);
//ApplBegSeqNum
m.Validate();
Your Sincerely,
Kapil Kumar Lalwani
“Enjoy the WORK you do, Do the BEST you can.”
------------------------------
*From:* Felipe Soares <felipe.soares at traderdata.com.br>
*To:* KAPIL KUMAR LALWANI <kaplalwani at yahoo.co.in>; Mailing list for
QuickFIX/n <quickfixn at lists.quickfixn.com>
*Sent:* Tuesday, 31 July 2012 5:58 PM
*Subject:* RES: {{Quickfixn}} RES: Quickfixn Digest, Vol 9, Issue 17
Kapil,
Bellow is the error that is thrown when I execute that source code:
Unhandled Exception: QuickFix.FieldNotFoundException: field not found for
tag: 3
5
at QuickFix.FieldMap.GetField(Int32 tag)
at QuickFix.Session.SendRaw(Message message, Int32 seqNum)
at QuickFix.Session.Send(Message message)
at QuickFix.Session.SendToTarget(Message message, SessionID sessionID)
at ConsoleApplication21.TCPReplayApp.RequestSeqNum(Int32 seqnum)
at ConsoleApplication21.Program.Main(String[] args)
regards
*De:* KAPIL KUMAR LALWANI [mailto:kaplalwani at yahoo.co.in]
*Enviada em:* terça-feira, 31 de julho de 2012 09:19
*Para:* Mailing list for QuickFIX/n
*Cc:* felipe.soares at traderdata.com.br
*Assunto:* Re: {{Quickfixn}} RES: Quickfixn Digest, Vol 9, Issue 17
Hi Felipe,
I guess this will help you ...
QuickFix.Message m = new QuickFix.Message();
m.SetField(new QuickFix.Fields.StringField(IntegerTag,
StringValue));
m.SetField(new QuickFix.Fields.IntField(IntegerTag, IntegerValue));
Your Sincerely,
Kapil Kumar Lalwani
“Enjoy the WORK you do, Do the BEST you can.”
------------------------------
*From:* Felipe Soares <felipe.soares at traderdata.com.br>
*To:* quickfixn at lists.quickfixn.com
*Sent:* Tuesday, 31 July 2012 4:59 PM
*Subject:* {{Quickfixn}} RES: Quickfixn Digest, Vol 9, Issue 17
Hi,
Can anyone post na example of how am I supposed to create a custom message
ate FIX4.4?
We tried following quickfix/n samples at website but so far could not
create it. The message it isn´t created...the error occurs at QuickFix/N,
but I am pretty sure that we are doing something wrong as soon as we have
no experience with quickfix/n.
Regards
Felipe soares
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120731/671247f7/attachment-0002.htm>
More information about the Quickfixn
mailing list