Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
avatar image
REFINITIV
Question by LtDoolittle6 · Nov 09, 2015 at 09:22 AM · upadecodeFieldListFieldEntryiterator

Error decoding a FieldList's FieldEntry

Can someone please can help? I have a question below. I am encoding a message with following types, a refresh message embedded with element list of field list. When I encode a field entry with string, I get an error when I try to decode the message. The code fails on a call to rsslDecodeFieldEntry.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Bondy_Bo · Nov 10, 2015 at 05:10 AM

When decoding the field list’s entries, use the same iterator you used to decode the field list:

if( ( ret = rsslDecodeFieldList(&decIterFieldlist, &fieldList, 0 ) ) == RSSL_RET_SUCCESS  )
{   
    RsslFieldEntry rsslFieldEntry ;
    ret =   rsslDecodeFieldEntry( &decIterFieldlist, &rsslFieldEntry );
}

You can also perform encoding and decoding of multiple levels of data with a single iterator, if you wish. For an example, see the rsslEncDecExample application included in UPA releases.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
1 Person is following this question.

Related Questions

RFA InvalidUsageException when deocode filedlist 1 Answer

rsslDecodeFilterEntry returns RSSL_RET_INCOMPLETE_DATA (-26) 2 Answers

How can I decode a subset of fields from the summary data without reading every field? 1 Answer

Question About Encoding Set Defs 1 Answer

Getting a decoding error when calling the decodeToXml of a request message 1 Answer

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Elektron Data Platform
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Explore
  • Tags
  • Questions
  • Badges