|
From: Robert M. <rm...@ne...> - 2018-01-09 15:16:51
|
John
Thanks for the responses: the reordering of the fields in the repeating group addressed the problem, apparently the message processor in production has more logic to handle the variation in party groups than my current test implementation.
Thanks again
Rob MacKay
From: Christoph John [mailto:chr...@ma...]
Sent: Tuesday, January 9, 2018 7:51 AM
To: Robert MacKay <rm...@ne...>; qui...@li...; Freedman, Jon <Jon...@br...>
Subject: Re: [Quickfixj-users] custom data dictionary not being used on inbound message validaiton
That clearly says that 448/PartyID should come before 447/PartyIDSource. So the error is justified.
Try swapping these fields.
On 09/01/18 15:48, Robert MacKay wrote:
Yes sorry about that, this is the corresponding group definition
<message name="MarketDataRequest" msgtype="V" msgcat="app">
<field name="MDReqID" required="Y" />
<group name="NoPartyIDs" required="N">
<field name="PartyID" required="Y" />
<field name="PartyIDSource" required="Y" />
<field name="PartyRole" required="Y" />
</group>
<field name="Symbol" required="Y" />
<field name="SubscriptionRequestType" required="Y" />
<field name="MarketDepth" required="N" />
<field name="MDUpdateType" required="N" />
<group name="NoRequestedSize" required="N">
<field name="RequestedSize" required="N" />
</group>
<field name="OrdType" required="N"/>
</message>
From: Christoph John [mailto:chr...@ma...]
Sent: Tuesday, January 9, 2018 7:46 AM
To: qui...@li...<mailto:qui...@li...>; Robert MacKay <rm...@ne...><mailto:rm...@ne...>; Freedman, Jon <Jon...@br...><mailto:Jon...@br...>
Subject: Re: [Quickfixj-users] custom data dictionary not being used on inbound message validaiton
Oh yeah, you are listing the part where the fields are defined. But you really should look it up in the component Parties.
On 09/01/18 15:45, Christoph John wrote:
But I think that section from the data dictionary makes no sense. The count tag NoPartyIDs is listed as last item in the component??
Chris.
On 09/01/18 15:42, Christoph John via Quickfixj-users wrote:
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Sorry, I misread it. ;)
IIRC you need to regenerate the message code when you want to validate repeating groups with a non-standard order.
On 09/01/18 15:40, Christoph John wrote:
There you have it. The repeating group should start with 448 but starts with 447.
Chris.
On 09/01/18 15:38, Robert MacKay wrote:
This is the corresponding data dictionary section
<field number="447" name="PartyIDSource" type="CHAR">
<value enum="D" description="PROPRIETARY_CUSTOM_CODE" />
</field>
<field number="448" name="PartyID" type="STRING" />
<field number="452" name="PartyRole" type="INT">
<value enum="1" description="EXECUTING_FIRM" />
<value enum="3" description="CLIENT_ID" />
<value enum="35" description="PROVIDER" />
</field>
<field number="453" name="NoPartyIDs" type="NUMINGROUP" />
After upgrading QF/J to 2.0.0 it is failing in a new way
453=1|447=D|448=XX|452=35|
(Rejecting invalid message: quickfix.FieldException: The group 453 must set the delimiter field 448:447)
But still failing around repeating party groups.
Thanks
Rob MacKay
--
Christoph John
Development & Support
T +49 241 557080-28
chr...@ma...<mailto:chr...@ma...>
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
www.macd.com<http://www.macd.com>
Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663
Geschäftsführer: George Macdonald
--
Christoph John
Development & Support
T +49 241 557080-28
chr...@ma...<mailto:chr...@ma...>
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
www.macd.com<http://www.macd.com>
Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663
Geschäftsführer: George Macdonald
--
Christoph John
Development & Support
T +49 241 557080-28
chr...@ma...<mailto:chr...@ma...>
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
www.macd.com<http://www.macd.com>
Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663
Geschäftsführer: George Macdonald
|