Re: [Quickfix-developers] Field order
Brought to you by:
orenmnero
|
From: Scott R. <sri...@fo...> - 2006-07-13 16:24:33
|
How are you generating the message? I also have had to add field 50 to = my outgoing messages, and just included=20 a_oMessage.setField(FIX::SenderSubID(GetVendorParameter(PARAMETER_SENDERC= OMPID).GetBuffer())); in my toApp() and toAdmin() functions. It adds to the header just fine. You may be able to force it with = something like a_oMessage.getHeader().setField(50, "VALUE"); but, I haven't tried this. (Note: I am assuming header automatically gets placed at the front of = the message, someone correct me if this isn't the case) -Scott -----Original Message----- From: qui...@li... = [mailto:qui...@li...] On Behalf Of = Lidia L=F3pez Cuesta Sent: Thursday, July 13, 2006 11:58 AM To: qui...@li... Subject: [Quickfix-developers] Field order QuickFIX Documentation: = http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hi all, I am trying to send a DataMarketRequest message, I only want to read the = futures for IBEX, so I need to use the fiels 50 and 48 to filter the=20 information received. I generated following message: 8=3DFIX.4.4=B79=3D138=B735=3DV=B734=3D2=B749=3DXXXX=B752=3D20060712-10:12= :21.937=B756=3DMEFF=B748=3D21=B750=3DXXX=B755=3D[N/A]=B757=3DM3=B7146=3D1= =B7262=3D0000001=B7263=3D1=B7264=3D0=B7265=3D0=B7267=3D1=B7269=3D0=B7461=3D= FXXXSX=B710=3D252=B7 and the answer is: 8=3DFIX.4.4=B79=3D127=B735=3D3=B734=3D3=B752=3D20060712-10:15:01=B749=3DM= EFF=B750=3DM3=B756=3DA880=B757=3D351=B745=3D2=B7373=3D99=B758=3D%MFEMC1FN= S-Field=20 not supported or misplaced [48=3D21]=B710=3D081=B7 I have asked to MEFF (which provides the connection to market using fix) = and=20 the technical service told me that the problem is the field order. He = said=20 that I must generate the field 50 before the 48 because 50 is a header = field=20 and It must be before. The problem is that I am using a QuickFix44. message and I can't (or I = don't know how) control the field order. Lidia -------------------------------------------------------------------------= Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |