I am using UPAJ to encode a request message that contains Key Attribute with the ELEMENT_LIST data type and Payload with the FILED_LIST data type. (Mix of data type)
Before I send this message to a provider, I want to print the message in XML format but when I call the Msg.decodeToXml method, I always get the error like this.
<REQUEST domainType="129" streamId="5" containerType="FIELD_LIST" flags="0x106 (HAS_PRIORITY|STREAMING|PRIVATE_STREAM)" priorityClass="1"priorityCount="1" dataSize="28"> <key flags="0x23 (HAS_SERVICE_ID|HAS_NAME|HAS_ATTRIB)" serviceId="4443" name="TRI" attribContainerType="ELEMENT_LIST"> <attrib> <elementList flags="0x08 (HAS_STANDARD_DATA)"> <elementEntry name="ApplicationId" dataType="ASCII_STRING" data="256"/> </elementList> </attrib> </key> <dataBody> <fieldList flags="0x08 (HAS_STANDARD_DATA)"> Error occurred while decoding FieldEntry, CodecReturnCode=-26 </dataBody> </REQUEST>
However, this message is sent successfully to a provider and the provider can decode it correctly.
What is the meaning of this error message?