Re: [Quickfix-developers] changing conditionally required fields
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-04-05 15:39:25
|
Y and N are the only options. There isn't a specific setting for =
conditionally required because it isn't enough information. There is no =
codification in the spec (at least in a machine readable way) what the =
conditions are for conditionally required fields. So conditionally =
required is treated the same as required in the spec.
The reason you are sending the rejects is because you are trying to pull =
out the conditionally required field without checking for its presence. =
You need to first do a isSetField before pulling it out. Otherwise if =
you pull it out and it's not there, an exception will get thrown =
resulting in the reject.
--oren
----- Original Message -----=20
From: Scott Riopelle=20
To: qui...@li...=20
Sent: Wednesday, April 05, 2006 8:55 AM
Subject: [Quickfix-developers] changing conditionally required fields
I am trying to change some required fields to be conditionally =
required.
First, I was attempting to just add the fields in fromApp(), but they =
weren't showing up in the log file.
quickfix.field.AvgPx val =3D new AvgPx(0);
message.setField(val);
=20
Then, I decided to just edit the xml file to match the changes to FIX =
that my counterparty made.
In the xml file (FIX42.xml) the only values I see for required are "Y" =
and "N". I set all the necessary conditional fields to "N", but am =
still sending business rejections back to my counterparty with =
"Conditionally required Field missing". Is there somewhere else I need =
to set conditions?
=
- Scott Riopelle
|