Hi Dojo!
I have a problem with a XML response. When I get it, the content is truncated at some point and then cant be procesed. I have other XML responses working fine with smaller files. The parameter response configuration is:
<Param id="135" trending="false">
<Name>statuscode_remote/203_0_113_23/tsdb/input</Name>
<Description>statuscode_remote/203_0_113_23/tsdb/input</Description>
<Type>read</Type>
<Information>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
Whats the maximum parameter lenght in DM?
How can I manage to resolve it?
Thanks in advance!
Hello,
Because you added unicode to your protocol, the values in the database are being interpreted wrong as those aren’t saved as unicode.
So you will have to recreate your element and the indexes should appear normal in the new element.
(Copied my comment so it can be marked as solution)
Hi Manuel,
The parameter configuration looks fine to receive your XML response.
It could be the case however that the big XML response is taking longer to receive than the configured request timeout. This might cause the response to only contain the received data up until that point.
Would it be possible to increase the timeout of a single command setting under the element configuration and try again?
Hi Dojo,
The problem was related with the unicode content in the XML response. After adding the unicode option in the protocol type tag, the xml response is working ok.
But now I have problems with some table index, special characters are apearing instead numbers:
Any idea?
Hello,
Because you added unicode to your protocol, the values in the database are being interpreted wrong as those aren’t saved as unicode.
So you will have to recreate your element and the indexes should appear normal in the new element.
Hi Robbie, I have recreated it and now it is working fine, thanks a lot!
Hi Robin, thanks for your reply. I have increased it but it keeps truncating at the same point.