HTTP REST Client string length limit?

Posted by Tim Kuehn on 03-Jun-2016 08:37

I'm working with 11.6.1 on Windows 7

I have a dataset interacting with a non-Progress DB via REST, and I just got a REPLACE / CONCAT error complaining about the string length, apparently in the RegistryBuilder part of the code. 

Are there string limits to the HTTP REST Client classes? 

All Replies

Posted by Tim Kuehn on 05-Jun-2016 23:35

What I think is happening is that I'm generating a body that's close to 32K chars long, and something in the HTTP client is choking when it tries to do something with that that blows the 32K string limit.

Posted by Mike Fechner on 05-Jun-2016 23:39

Are you receiving or sending the dataset?

Mind sharing some code of your Web Handler? A Stack trace of the error? Are you returning the Dataset as a string or a JSON Object?

Posted by Tim Kuehn on 05-Jun-2016 23:50

Its basically one long string in a json wrapper packaged with some information to tell the receiver what to do with it.

Posted by Tim Kuehn on 05-Jun-2016 23:51

Its all HTTP REST - no webhandler as far as I know.

Posted by Peter Judge on 06-Jun-2016 08:27

There are no special string limits. There may be issues with codepages (especially converting to US-ASCII) but those should be fixed in 11.6.2.

You should log a bug for this anyway.

Posted by Peter Judge on 06-Jun-2016 11:52

There are no special string limits. There may be issues with codepages (especially converting to US-ASCII) but those should be fixed in 11.6.2.
 
You should log a bug for this anyway.
 

This thread is closed