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.
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.
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