|
From: Steve B. <st...@te...> - 2007-10-03 11:05:45
|
John, The Account tag is part of a repeating group. Apparently, it was not included in that group in the first message and it's an invalid tag = outside the group. In the second message, the field is within the repeating = group so it parses correctly. However, you must retrieve it by retrieving the groups and then obtaining the Account field from each group. Regards, Steve > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of John Coleman > Sent: Wednesday, October 03, 2007 6:53 AM > To: qui...@li... > Subject: Re: [Quickfixj-users] tag1 > Importance: High >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, >=20 > We use Quickfix at both sides. >=20 > I have now moved the tag 1 element to the end of the message and it is = now > accepted on the server - I didn't think ordering in the message body = was > significant, but it appears so? >=20 > But the problems goes on. When I try to retrieve the account from the > message, it throws field not found. >=20 > My code is: quoteRequest.getString(Account.FIELD) >=20 > The quote request is: > = 8=3DFIX.4.4=019=3D191=0135=3DR=0134=3D229=0149=3Dtestinitiator1=0152=3D20= 071003- > = 10:21:13.932=0156=3DFxFIXService=01131=3DSIMRFQ00044702=01146=3D1=0155=3D= EUR/USD=01461=3DRCSXX > = X=0180303=3D1=01537=3D1=0154=3D1=0138=3D100000=0163=3D0=0164=3D20070926=01= 15=3DEUR=011=3Dtestinitiator1=0110 > =3D075=01 >=20 > It's like QFJ can't see what is in the message? >=20 > TIA > John >=20 > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of Bruno > Sent: 03 October 2007 10:13 > To: qui...@li... > Subject: Re: [Quickfixj-users] tag1 >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ >=20 > Hi John, >=20 > Are you using Quickfix to send the message or the server uses = Quickfix? >=20 > This is a response from the server, so in case you are using Quickfix = to > send the message it is probably related to how the server implements = FIX > and not to Quickfix itself. In this case, you should check the rules = of > engagement from the server. >=20 > Cheers, >=20 > Bruno >=20 > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of John Coleman > Sent: Wednesday, October 03, 2007 10:52 AM > To: qui...@li... > Subject: [Quickfixj-users] tag1 > Importance: High >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi, >=20 > I'm supplying a tag 1 value on a quote request, but the Quickfix = engine > seems to not like this, and responds:- >=20 > fromAdmin: message: > = 8=3DFIX.4.4?9=3D138?35=3D3?34=3D22?49=3DFxFIXService?52=3D20071003-08:42:= 32.2 > 77?56=3Dtestinitiator1?45=3D22?58=3DTag not defined for this message > type?371=3D1?372=3DR?373=3D2?10=3D235? >=20 > According to FIXionary we can have tag 1 optionally for a 35=3DR, so = why do > we get a rejection? >=20 > TIA > John >=20 > 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. >=20 > 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. >=20 > 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. >=20 > 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. >=20 >=20 > = -------------------------------------------------------------------------= > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users >=20 >=20 > = -------------------------------------------------------------------------= > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > = -------------------------------------------------------------------------= > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |