[QFJ-764] Create message class for XmlMessage (MsgType = 'n') Created: 11/Dec/13  Updated: 12/Dec/13

Status: Open
Project: QuickFIX/J
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Default
Reporter: Isaac Levin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Fix 4.4 defines XML Message (message type = 'n') that contains XmlData. There are XmlData and XmlDataLen classes in QuickFIX/J, but there is no actual class for XmlMessage. As a result calling MessageFactory.create(BEGIN_STRING, 'n') returns null



 Comments   
Comment by Christoph John [ 12/Dec/13 ]

I think the problem lies within the specification of the XmlMessage itself. In FIXimate (http://www.fixtradingcommunity.org/FIXimate/FIXimate3.0/) the MsgType n is only specified having a header and a trailer, but no body fields. When adding this information to the data dictionary and regenerating the code the MessageFactory returns a message but when adding fields and validating the message the error "No fields found" is thrown by the DataDictionary. So it seems that the XmlMessage cannot be completely supported.
Another point is that by definition of the FIXimate msgType n is an admin message but QuickFIX/J currently will not treat it as admin message (see MessageUtils.isAdminMessage()). I do not know if that will cause additional problems.

Generated at Thu May 02 01:02:28 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.