Login  •  Register


BadEncodingLimitsExceeded.

Questions regarding the use of the UaExpert.

BadEncodingLimitsExceeded.

Postby fulcrum24 » 21 May 2019, 14:41

I get the "BadEncodingLimitsExceeded" message in UaExpert if I want to read the attributes of an input argument of my method. What kind of encoding limits are in this case exactly? What could be the solution? Any idea?
fulcrum24
Jr. Member
Jr. Member
 
Posts: 1
Joined: 21 May 2019, 14:27

Re: BadEncodingLimitsExceeded.

Postby Support Team » 08 Jan 2020, 18:45

Hello,

the length of the data is probably to big. The encoder on client side but also on server side has limitation in length. There are much more limitations, e.g. max string len, max array size, max message size, etc. which are negothiated between client and server during connection establishment. The encoding limit is typically a fixed limit of an (embedded) server, because it needs memory for buffering the data.

Solution is: you must limit the parameters of your method to fit to the max encoding limits of the particular server.
Best regards
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2445
Joined: 18 Mar 2011, 15:09


Return to UaExpert

Who is online

Users browsing this forum: No registered users and 0 guests

cron