Unable to see ANSIPage data in consumer

Hi,

Running a application which acts as InteractiveProvider using RFA 8. When a consumer connects and request MARKET_PRICE, the data sent as FIELD_LIST shows fine on the consumer but when trying to send the data as ANSIPAGE, the consumer doesn't get the refresh response ( consumer logs show STATUS message with state as SUSPECT and text: "A7: Source did not respond"). Enabled trace on provider and following is the response sent:

---XML TRACE---

<refreshMsg rwfMajorVer="14" rwfMinorVer="1" mType="RWF_MT_MARKET_PRICE" refreshFlags="0x68" dataFormat="RSSL_DF_ANSI_PAGE" streamId="3" groupId="0002" streamState="RSSL_STREAM_OPEN" dataState="RSSL_DATA_OK" code="RSSL_SC_NONE" text="OK" respType="0">

<key flags="0x7" name="23" nameType="1" serviceId="1"/>

<dataBody>

<ansiPage data="[?25l[?7h[m(B)B[02;01H[0;32;40m[>0;4;30;41m1W[0m[>0m [02;20H[0;30;42m[>0;4;30;42m55[0m[>0m [02;26H[0;32;40m[>0;4;30;41m-[0m[>0m [02;50H[0;32;40m[>0;4;30;41m50[0m[>0m [02;54H[0;32;40m[>0;4;30;41m-[0m[>0m [01;01H[2K[01;01H[0;33;44m[>0;4;34;41mIssueName Price Size Close Last [01;01HIssueName [01;25HPrice [01;50HSize [01;60HClose [01;70HLast [>0m "/>

</dataBody>

</refreshMsg>

---DATA TRACE---

MESSAGE

Msg Type: MsgType.REFRESH_RESP

Msg Model Type: MARKET_PRICE

Indication Flags: REFRESH_COMPLETE

Hint Flags: HAS_ATTRIB_INFO | HAS_ITEM_GROUP | HAS_RESP_TYPE_NUM | HAS_STATE

Stream Id: 3

State: OPEN, OK, NONE, "OK"

Group: 0002

RespTypeNum: 0(REFRESH_SOLICITED)

AttribInfo

ServiceId: 1

Name: 23

NameType: 1 (RIC)

Payload: 435 bytes

Hex Format and Data Bytes:

00000 1b 5b 3f 32 35 6c 1b 5b--3f 37 68 1b 5b 6d 1b 28 |.[?25l.[-?7h.[m.(|

00010 42 1b 29 42 1b 5b 30 32--3b 30 31 48 0f 1b 5b 30 |B.)B.[02-;01H..[0|

00020 3b 33 32 3b 34 30 6d 1b--5b 3e 30 3b 34 3b 33 30 |;32;40m.-[>0;4;30|

00030 3b 34 |;4 |


Hex Format:

1b5b3f32356c1b5b3f37681b5b6d1b28

421b29421b5b30323b3031480f1b5b30

3b33323b34306d1b5b3e303b343b3330

3b34316d31571b5b306d1b5b3e306d20

1b5b30323b3230481b5b303b33303b34

326d1b5b3e303b343b33303b34326d35

351b5b306d1b5b3e306d201b5b30323b

3236481b5b303b33323b34306d1b5b3e

303b343b33303b34316d2d1b5b306d1b

5b3e306d201b5b30323b3530481b5b30

3b33323b34306d1b5b3e303b343b3330

3b34316d35301b5b306d1b5b3e306d20

1b5b30323b3534481b5b303b33323b34

306d1b5b3e303b343b33303b34316d2d

1b5b306d1b5b3e306d201b5b30313b30

31481b5b324b1b5b30313b3031481b5b

303b33333b34346d1b5b3e303b343b33

343b34316d49737375654e616d652020

20202020202020202020202020507269

63652020202020202020202020202020

20202020202053697a65202020202020

436c6f736520202020204c6173742020

20202020201b5b30313b303148497373

75654e616d65201b5b30313b32354850

72696365201b5b30313b35304853697a

65201b5b30313b363048436c6f736520

1b5b30313b3730484c617374201b5b3e

306d00

Data Bytes:

[?25l[?7h[m(B)B[02;01H[0;32;40m[>0;4;30;41m1W[0m[>0m [02;20H[0;30;42m[>0;4;30;42m55[0m[>0m [02;26H[0;32;40m[>0;4;30;41m-[0m[>0m [02;50H[0;32;40m[>0;4;30;41m50[0m[>0m [02;54H[0;32;40m[>0;4;30;41m-[0m[>0m [01;01H[2K[01;01H[0;33;44m[>0;4;34;41mIssueName Price Size Close Last [01;01HIssueName [01;25HPrice [01;50HSize [01;60HClose [01;70HLast [>0m


Can someone clarify as to why the above message doesn't show up on the consumer end. Also is there a difference between RSSL_DF_ANSI_PAGE and RSSL_DT_ANSI_PAGE

Please let me know if any more information is required.

Best Answer

  • Hi @narendranb

    Please include full trace of the Request message and full trace of the response Status Msg for completeness.

    In terms of RSSL_DF and RSSL_DT - DF specifies DataFormat and DT specifies DataType

    As far as I am aware RSSL_DT_ANSI_PAGE is a DataType

    DataFormat is the container type e.g.Map, ElementList etc

    DataType is the encoding type e.g. UInt,AsciiString, Real, Float, AnsiPage etc.