|
From: Mohammad K. L. <kam...@gm...> - 2007-07-10 06:58:37
|
Thanks a lot Alex,it's working now... On 7/9/07, Alex McGlashan <ale...@eu...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi Mohammad, > > You don't need to set the header fields directly - QFJ builds the header > for you. If you remove the following code then it should work ok: > > Message message = new Message(); > quickfix.Message.Header header = quoteRequest.getHeader(); > header.setField(new BeginString("FIX.4.2")); > header.setField(new BodyLength()); > header.setField (new MsgType("R")); > header.setField(new SenderCompID("client1")); > header.setField(new TargetCompID("client2")); > message.setField(new HeartBtInt(30)); > > Regards, > Alex > > > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On Behalf Of > Mohammad Kamran Liaqat > Sent: 09 July 2007 08:28 > To: qui...@li... > Subject: [Quickfixj-users] Problem sending QuoteRequest!! > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > Eurobase International Limited and its subsidiaries (Eurobase) are unable > to exercise control over the content of information in E-Mails. Any views > and opinions expressed may be personal to the sender and are not necessarily > those of Eurobase. Eurobase will not enter into any contractual obligations > in respect of any part of its business in any E-mail. > > Privileged / confidential information may be contained in this message and > /or any attachments. This E-mail is intended for the use of the addressee(s) > only and may contain confidential information. If you are not the / an > intended recipient, you are hereby notified that any use or dissemination of > this communication is strictly prohibited. If you receive this transmission > in error, please notify us immediately, and then delete this E-mail. > > Neither the sender nor Eurobase accepts any liability whatsoever for any > defects of any kind either in or arising from this E-mail transmission. > E-Mail transmission cannot be guaranteed to be secure or error-free, as > messages can be intercepted, lost, corrupted, destroyed, contain viruses, or > arrive late or incomplete. Eurobase does not accept any responsibility for > viruses and it is your responsibility to scan any attachments. > > Eurobase Systems Limited is the main trading company in the Eurobase > International Group; registered in England and Wales as company number > 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex > CM2 0RE, UK. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |