<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.keyword
        {mso-style-name:keyword;}
span.number
        {mso-style-name:number;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Sir,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The message definition is as follows:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><message name="MarketDataSnapshotFullRefresh" msgtype="W" msgcat="app"><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field name="MDReqID" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <component name="Instrument" required="Y" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <group name="NoUnderlyings" required="N"><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <component name="UnderlyingInstrument" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    </group><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <group name="NoLegs" required="N"><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <component name="InstrumentLeg" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    </group><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field name="FinancialStatus" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field name="CorporateAction" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field name="NetChgPrevDay" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <group name="NoMDEntries" required="Y"><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntryType" required="Y" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntryPx" required="Y" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="Currency" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntrySize" required="Y" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntryDate" required="Y" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntryTime" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="TickDirection" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDMkt" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="TradingSessionID" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="TradingSessionSubID" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="QuoteCondition" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="TradeCondition" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntryOriginator" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="LocationID" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="DeskID" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="OpenCloseSettlFlag" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="TimeInForce" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="ExpireDate" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="ExpireTime" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MinQty" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="ExecInst" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="SellerDays" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="OrderID" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="QuoteEntryID" required="Y" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntryBuyer" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntrySeller" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="NumberOfOrders" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="MDEntryPositionNo" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="Scope" required="N" />                <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="PriceDelta" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="Text" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="EncodedTextLen" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <field name="EncodedText" required="N" /><o:p></o:p></span></p><p class=MsoNormal style='text-indent:.5in'><span style='color:#1F497D'><field name="SettType" required="Y" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    </group><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field name="ApplQueueDepth" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field name="ApplQueueResolution" required="N" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>  </message><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Tag definitions of the above tags in XML file are as follows:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><field number="262" name="MDReqID" type="STRING" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><field number="268" name="NoMDEntries" type="NUMINGROUP" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><field number="269" name="MDEntryType" type="CHAR"><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <value enum="0" description="BID" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>      <value enum="1" description="OFFER" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'></field><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><field number="270" name="MDEntryPx" type="PRICE" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field number="271" name="MDEntrySize" type="QTY" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>    <field number="272" name="MDEntryDate" type="UTCDATEONLY" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><field number="299" name="QuoteEntryID" type="STRING" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><field number="9063" name="SettType" type="STRING" /><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The message I am receiving which is getting rejected is:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>8=FIX.4.4 9=0228 35=W 49=HSBCAPFIX 56=KRISQLSSTR 57=KRIS 55=USD/JPY 262=MARKETDATAID10:59:06.8811609 268=2 269=0 270=100.005 271=1000000 272=20131120 299=00300000001:A 9063=SP 269=1 270=100.014 271=1000000 272=20131120 299=00300000001:A 9063=SP 10=120<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>While the rejection message is:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>8=FIX.4.4|9=130|35=3|34=203|49=KRISQLSSTR|50=KRIS|52=20131118-11:06:12.576|56=HSBCAPFIX|45=203|58=Tag appears more than once|371=269|372=W|373=13|10=087|]<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><b><span lang=EN-IN style='font-family:"Century Gothic","sans-serif";color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=EN-IN style='font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0F243E'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'><br></span><b><span style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>COMMDEL</span></b><span lang=EN-IN style='font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Commdel Consulting Services P Ltd, <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>H-134, Sector-63, Noida - U.P. (India)</span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>   <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'>    </span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>           </span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><a href="http://www.commdel.net/"><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:blue'>www.commdel.net</span></a></span><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>   <o:p></o:p></span></p><p class=MsoNormal><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>A n   </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>I S O     9 0 0 1 : 2 0 0 8</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>      C e r t i f i e d     C o m p a n y<o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Payment</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:black'>           </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0'>Enterprise</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>            </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#FFC000'>Mobility</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'>            </span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#A6A6A6'>Internet</span></b><b><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699'> </span></b><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:black'> </span><span style='color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> quickfixn-bounces@lists.quickfixn.com [mailto:quickfixn-bounces@lists.quickfixn.com] <b>On Behalf Of </b>James Riehl<br><b>Sent:</b> Tuesday, November 19, 2013 5:13 PM<br><b>To:</b> Mailing list for QuickFIX/n<br><b>Cc:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Really need help in crucial issue<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Please post the message definition from your data dictionary XML file. Please only post the definition for the message being rejected. Also post the tag definitions for the tags that are present in the message. <span style='font-size:12.0pt'><o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Please don't post the entire data dictionary. <o:p></o:p></p></div><div><p class=MsoNormal><br><br>Sent from my iPhone<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br>On Nov 19, 2013, at 5:05, "Nirjhar Jain" <<a href="mailto:nirjhar.jain@commdel.net">nirjhar.jain@commdel.net</a>> wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Hi All,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Tutorial tells us to read groups from the message as mentioned below, but they do not mention where to do this coding.  The next(message); function in session.cs class is generating reject message and giving reason <b>tag appears more than once in message</b>, as my received msg(Type=W) contains tag=268 repeating group.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Please help me in using the provided info.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:18.0pt;font-family:"Times New Roman","serif"'>Reading Groups</span></b><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>To read a group from a message, we supply the tag of the group field and the index of the group:</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>var sidesGrp1 = new QuickFix.FIX44.TradeCaptureReport.NoSidesGroup();</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>sidesGrp1 = tcr.GetGroup(1, Tags.NoSides);</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>var sidesGrp2 = new QuickFix.FIX44.TradeCaptureReport.NoSidesGroup();</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>sidesGrp2 = tcr.GetGroup(2, Tags.NoSides);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Group indexes start at </span><span style='font-size:10.0pt;font-family:"Courier New"'>1</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>. </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>To iterate the groups, we use a </span><span style='font-size:10.0pt;font-family:"Courier New"'>for</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'> loop with the value of the group field:</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>var noSidesGrp = new QuickFix.FIX44.TradeCaptureReport.NoSidesGroup();</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>for(int grpIndex = 1; grpIndex<= message.GetInt(Tags.NoSides); grpIndex += 1)</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>{</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>    noSidesGrp = message.GetGroup(grpIndex, Tags.NoSides);</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>}</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>I will be very thankful to you.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-IN style='font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Thanks & Regards,</span><o:p></o:p></p><p class=MsoNormal><b><span lang=EN-IN style='font-family:"Century Gothic","sans-serif";color:#0F243E'>Nirjhar Jain</span></b><o:p></o:p></p><p class=MsoNormal><span lang=EN-IN style='font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D'>Software Engineer</span><o:p></o:p></p><p class=MsoNormal>Mob: +919717976519<o:p></o:p></p></div></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>_______________________________________________<br>Quickfixn mailing list<br><a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><o:p></o:p></span></p></div></blockquote></div></div></body></html>