Re: [Quickfix-developers] Session Not Found
Brought to you by:
orenmnero
From: Mikhail V. <mve...@gm...> - 2009-09-23 12:45:30
|
order.toString() would give you a string representation. Question is why would you want to set a representation of the session into the header rather then keep it as a variable and do: FIX::Session::sendToTarget(order, session_id); - Regards, Mikhail Veygman -----Original Message----- From: Joaquín Gracia <j.g...@ra...> To: Mikhail Veygman <mve...@gm...> Cc: qui...@li... Subject: Re: [Quickfix-developers] Session Not Found Date: Wed, 23 Sep 2009 14:27:49 +0200 Hi Mikhail, Sorry O forgot to "answer to all" in my previous mail. I checked the code that sets the values to header tags and everything looks ok. I would like to std::cout the actual message string to see if any tag has an unexpected value, but I don't know how to do that. I don't know how to extract a std::string body out of a FIX::Message object. Thanks. Joaquín Gracia. El 23/09/2009, a las 14:21, Mikhail Veygman escribió: Joaquin, First off, please copy the list. Second. Since you are using a raw message are you setting session information in the message header in your code? - Regards, Mikhail Veygman -----Original Message----- From: Joaquín Gracia <j.g...@ra...> To: Mikhail Veygman <mve...@gm...> Subject: Re: [Quickfix-developers] Session Not Found Date: Wed, 23 Sep 2009 11:14:19 +0200 Her it is: FIX::Message order ... code that assigns values to fields ... try { // Here is where I would like to get a copy of order as a string and show it on screen FIX::Session::SendToTarget (order); } catch (std::exception & e) { std::cout << e.what(); } Thanks. El 23/09/2009, a las 11:09, Mikhail Veygman escribió: A sending code sample would be helpful Regards, Mikhail Veygman Sep 23, 2009, в 1:14 AM, Joaquín Gracia <j.g...@ra...> написал(а): > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi all, > > There's something weird with my quickfix module. Heartbeat messages > are being sent and correctly received by the listener, but when I try > to send actua FIX order, I just get this output: > > Message Not Send. Session Not Found. > > And the listener gets absolutely no message or sign of activity. > > What could be the reason for this? > > Thank you. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |