[Quickfix-developers] Problems with field 48
Brought to you by:
orenmnero
|
From: <li...@ho...> - 2006-07-13 17:45:01
|
Thank you,
I have changed my code by
If message.isSetField(50) = False Then
message.getHeader().setField(New
QuickFix.SenderSubID(sSenderSubId))
End If
and now the field 50 is at the beginning of the message. But I still have
the same problem, so I suppose that the order is not the problem.
message:
8=FIX.4.4·9=138·35=V·34=2·49=A880·50=351·52=20060713-17:02:19.385·56=MEFF·57=M3·48=21·55=[N/A]·146=1·262=0000001·263=1·264=0·265=0·267=1·269=0·461=FXXXSX·10=007·
answer:
8=FIX.4.4·9=127·35=3·34=3·52=20060713-17:05:53·49=MEFF·50=M3·56=A880·57=351·45=2·373=99·58=%MFEMC1FNS-Field
not supported or misplaced [48=21]·10=095·
Anyone knows if the field 48 has any special consideration.
Lidia
>From: Oren Miller <or...@qu...>
>To: Scott Riopelle <sri...@fo...>
>CC: Lidia López Cuesta <li...@ho...>,
><qui...@li...>
>Subject: Re: [Quickfix-developers] Field order
>Date: Thu, 13 Jul 2006 12:28:41 -0500
>
>Yeah, if you want to guarantee that a field comes before any body fields,
>you must place it in the header with message.getHeader ().setField. If you
>do not do this it may come before any body fields, but you are just
>getting lucky, and that my change if you add additional fields. To be
>sure, always specifically add to the header.
>
>--oren
>
>On Jul 13, 2006, at 11:24 AM, Scott Riopelle wrote:
>
>>QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/
>>html/index.html
>>QuickFIX Support: http://www.quickfixengine.org/services.html
>>
>>How are you generating the message? I also have had to add field 50 to
>>my outgoing messages, and just included
>>
>>a_oMessage.setField(FIX::SenderSubID(GetVendorParameter
>>(PARAMETER_SENDERCOMPID).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ópez 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
>>information received.
>>
>>I generated following message:
>>8=FIX.
>>4.4·9=138·35=V·34=2·49=XXXX·52=20060712-10:12:21.937·56=MEFF·48=21·50=
>>XXX·55=[N/A]
>>·57=M3·146=1·262=0000001·263=1·264=0·265=0·267=1·269=0·461=FXXXSX·10=2 52·
>>
>>and the answer is:
>>8=FIX.
>>4.4·9=127·35=3·34=3·52=20060712-10:15:01·49=MEFF·50=M3·56=A880·57=351·
>>45=2·373=99·58=%MFEMC1FNS-Field
>>not supported or misplaced [48=21]·10=081·
>>
>>I have asked to MEFF (which provides the connection to market using fix)
>>and
>>the technical service told me that the problem is the field order. He
>>said
>>that I must generate the field 50 before the 48 because 50 is a header
>>field
>>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=lnk&kid=120709&bid=263057&dat=121642
>>_______________________________________________
>>Quickfix-developers mailing list
>>Qui...@li...
>>https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>>
>>
>>---------------------------------------------------------------------- ---
>>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=lnk&kid=120709&bid=263057&dat=121642
>>_______________________________________________
>>Quickfix-developers mailing list
>>Qui...@li...
>>https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>>
>
|