{{Quickfixn}} Remove/Ignore required tag from Logon in FIX5.0SP2

Steffen Wiederspahn (BLOOMBERG/ RTS FRANK) s.wiederspah at bloomberg.net
Wed Feb 15 23:40:38 PST 2017


This tag is required for FIXT. If I remove it from my config I get the message "Configuration failed: ApplVerID is required for FIXT transport". 

I understand that this tag is required in FIX5.0 sp2 but I would like to understand why it has no effect when I change the value "required" value to "N" in the TransportDataDictionary like this:
    <message msgcat='admin' msgtype='A' name='Logon'>
      <field name='EncryptMethod' required='Y'/>
      <field name='HeartBtInt' required='Y'/>
      <field name='RawDataLength' required='N'/>
      <field name='RawData' required='N'/>
      <field name='ResetSeqNumFlag' required='N'/>
      <field name='NextExpectedMsgSeqNum' required='N'/>
      <field name='MaxMessageSize' required='N'/>
      <field name='TestMessageIndicator' required='N'/>
      <field name='Username' required='N'/>
      <field name='Password' required='N'/>
     <field name='DefaultApplVerID' required='N'/>

Not sure if it uses this tag as internal session ID but somehow I have the feeling that this is hard coded and not easily changeable with a configuration change.

From: gbirchmeier at connamara.com At: 02/15/17 17:03:59
To: Steffen Wiederspahn (BLOOMBERG/ RTS FRANK), quickfixn at lists.quickfixn.com
Cc: krazibit312 at gmail.com
Subject: Re: {{Quickfixn}} Remove/Ignore required tag from Logon in FIX5.0SP2

I believe this tag comes from your config.  Does it work when you comment this value out?

According to FIXimate, tag 1137 is required in FIX5.0 sp2.  If your counterparty is not sending it back, they are in error.  Please let them know.

In the meantime, I suppose you can edit your FIX5.0 sp2 DataDictionary to make this optional instead of required.  That might work, unless the engine uses it as part of the internal session ID.  If the latter, then maybe you'll need to hack the engine.  (I don't think you can hack the message itself in FromAdmin in that case, because the session ID mismatch would cause it to be discarded before that.)

On Wed, Feb 15, 2017 at 4:27 AM, Steffen Wiederspahn (BLOOMBERG/ RTS FRANK) <s.wiederspah at bloomberg.net> wrote:

Hi Ola,

I do not process something explicitly on Login. Maybe the following output will help:

<20170215-10:26:03.935, FIXT.1.1:FIXSRV->RTD, event>
  (Created session)
<20170215-10:26:03.938, FIXT.1.1:FIXSRV->RTD, event>
  (Connecting to 10.36.142.2 on port 1284)
Sent the Admin following message: 8=FIXT.1.1|9=77|35=A|34=1|49=FIXSRV|52=20170215-10:26:03.941|56=RTD|98=0|108=30|141=Y|1137=9|10=138|
<20170215-10:26:03.941, FIXT.1.1:FIXSRV->RTD, outgoing>
  (8=FIXT.1.1|9=106|35=A|34=1|49=FIXSRV|52=20170215-10:26:03.941|56=RTD|50=FIX50|98=0|108=30|141=Y|553=FIX50|554=fix50|1137=9|10=081|)
<20170215-10:26:03.941, FIXT.1.1:FIXSRV->RTD, event>
  (Initiated logon request)
<20170215-10:26:03.946, FIXT.1.1:FIXSRV->RTD, incoming>
  (8=FIXT.1.1|9=000106|35=A|1128=7|49=RTD|56=FIXSRV|34=1|50=FIX50|52=20170215-10:26:04.563|98=0|108=30|141=Y|553=FIX50|554=fix50|10=224|)
<20170215-10:26:03.946, FIXT.1.1:FIXSRV->RTD, event>
  (Message 1 Rejected: Required tag missing:1137)
<20170215-10:26:03.946, FIXT.1.1:FIXSRV->RTD, event>
  (Tried to send a reject while not logged on)
<20170215-10:26:03.946, FIXT.1.1:FIXSRV->RTD, event>
  (Required field missing from logon)
<20170215-10:26:03.946, FIXT.1.1:FIXSRV->RTD, event>
  (Disconnecting)


From: krazibit312 at gmail.com At: 02/15/17 11:21:37
To: Steffen Wiederspahn (BLOOMBERG/ RTS FRANK)
Cc: quickfixn at lists.quickfixn.com
Subject: Re: Re: {{Quickfixn}} Remove/Ignore required tag from Logon in FIX5.0SP2


Hi Steffen,
Can you email the snippet where you process the login response? 
On Wed, Feb 15, 2017, 11:36 AM Steffen Wiederspahn (BLOOMBERG/ RTS FRANK) <s.wiederspah at bloomberg.net> wrote:

Apologies, did not reply to all.

From: Steffen Wiederspahn (BLOOMBERG/ RTS FRANK) At: 02/15/17 10:00:58
To: krazibit312 at gmail.com
Subject: Fwd:Re: {{Quickfixn}} Remove/Ignore required tag from Logon in FIX5.0SP2

Hi Ola,

where do I implement such a check? Because in the logon response message I do not receive this tag. Do I have to do the check in the fromAdmin method?

thanks
Steffen

From: krazibit312 at gmail.com At: 02/15/17 09:27:21
To: Steffen Wiederspahn (BLOOMBERG/ RTS FRANK), quickfixn at lists.quickfixn.com
Subject: Re: {{Quickfixn}} Remove/Ignore required tag from Logon in FIX5.0SP2


Hi,
In your code you are probably trying to read this tag without checking if it's available or not.
First check if tag is available the try to read it. 
Regards, 
Ola 
On Wed, Feb 15, 2017, 10:12 AM Steffen Wiederspahn (BLOOMBERG/ RTS FRANK) <s.wiederspah at bloomberg.net> wrote:

Hi, 

I am currently struggling with the tag 1137 (DefaultApplVerID) in FIX5.0SP2. I am sending this tag as the initiator during the Logon message to my counterpart. My counterpart is then sending me back the logon response without this tag. This is causing my client to disconnect with the Error "Message 1 Rejected: Required tag missing:1137".  I tried already to make this field as non-mandatory in the FIXT11.xml but this had no effect. 
My questions are now if there is a way to configure this tag as non-mandatory and if it'S possible to not send this tag as initiator in the logon message?

thanks and regards
Steffen_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com


_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com


-- 
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.
http://connamara.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170216/db246f39/attachment-0002.htm>


More information about the Quickfixn mailing list