Re: [Quickfix-developers] Order Cancel Message Reject saying unsupported Message Type
Brought to you by:
orenmnero
From: Malinka R. <ael...@gm...> - 2008-12-02 15:47:56
|
As far as i know there is only the second function you can inherit, if you were writing your function declaration as the second i'm pretty sure that was creating a new function call not overloading a previous one On Tue, Dec 2, 2008 at 04:38, Saman Marasinghe <mar...@gm...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi All, > > > > I have resolved the problem myself. Sorry for bugging you all. > > There are 2 virtual methods to inherit. > > > > virtual void onMessage( OrderCancelRequest&, const FIX::SessionID& ) {} > > > > virtual void onMessage( const OrderCancelRequest&, const FIX::SessionID& ) > {} > > > > I have inherited 1st one earlier. When I used the below one the problem > has been solved. > > > > Cheers. > > > > Saman > > > > *From:* Saman Marasinghe [mailto:mar...@gm...] > *Sent:* Tuesday, December 02, 2008 7:35 PM > *To:* 'qui...@li...' > *Cc:* 'Ned...@ao...' > *Subject:* Order Cancel Message Reject saying unsupported Message Type > > > > Hi All, > > > > I have a problem when sending a Cancel Order Message 35=F to the QuickFix > acceptor. This is the cancel message I sent and it is rejected saying > 'Unsupported Message Type'. > > > 8=FIX.4.19=8435=F34=15049=ARCA52=20081202-08:26:3456=TW11=12338=20041=1234554=155=AMLAK10=067 > > > > Rejection > > 8=FIX.4.19=8135=334=2849=TW52=20081202-08:26:3456=ARCA45=15058=Unsupported > message type10=128 > > > > But in my FIX41.xml that message type is well defined. > > > > <message name="OrderCancelRequest" msgtype="F" msgcat="app"> > > <field name="OrigClOrdID" required="Y"/> > > <field name="OrderID" required="N"/> > > <field name="ClOrdID" required="Y"/> > > <field name="ListID" required="N"/> > > <field name="ClientID" required="N"/> > > <field name="ExecBroker" required="N"/> > > <field name="Symbol" required="Y"/> > > <field name="SymbolSfx" required="N"/> > > <field name="SecurityID" required="N"/> > > <field name="IDSource" required="N"/> > > <field name="SecurityType" required="N"/> > > <field name="MaturityMonthYear" required="N"/> > > <field name="MaturityDay" required="N"/> > > <field name="PutOrCall" required="N"/> > > <field name="StrikePrice" required="N"/> > > <field name="OptAttribute" required="N"/> > > <field name="SecurityExchange" required="N"/> > > <field name="Issuer" required="N"/> > > <field name="SecurityDesc" required="N"/> > > <field name="Side" required="Y"/> > > <field name="OrderQty" required="N"/> > > <field name="CashOrderQty" required="N"/> > > <field name="Text" required="N"/> > > </message> > > > > However herewith I have attached my FIX41.xml. > > > > Could you please someone help me for this? > > > > Regards. > > > > Saman > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |