REST Api two longchars

Posted by bart.syryn on 14-Sep-2019 09:33

Hi, I have a REST-service and the procedure needs to recieve two longchars. So INPUT PARAMETER lc1 AS LONGCHAR and INPUT PARAMETER lc2 AS LONGCHAR. But it gives me an error (internal server error 500 - postman). If I just use 1 longchar then that's ok. Is it possible to have two or more longchars as input parameter ? And if so, how can that be achieved ? Regards, Bart

All Replies

Posted by Alejandro Aragon on 14-Sep-2019 16:15

Can virtual memory be increased on the server that receives and processes LONGCHAR?

Posted by bart.syryn on 16-Sep-2019 06:23

Could memory be the problem ?

The test I'm doing is with a very small request:

{

"request": {

"authToken": "aaaabbbccc",

"dossierNr": 1,

"jsontttable1":

[

{

"srchfield": "naam",

"srchstring": "abc"

}

],

"jsontttable2":

[

{

"srchfield": "naam",

"srchstring": "abc"

}

]

}

}

Posted by Dileep Dasa on 17-Sep-2019 08:38

The 500 Internal Server Error is a very general HTTP status code. Please check the log files to see if there are any additional errors or exceptions. They might help us in understanding the issue.

Posted by bart.syryn on 17-Sep-2019 08:59

I checked the procedure on the appserver.

I recieve for jsontttable1 and jsonttable2 a '?'.

Seems like the internal-server error is because I'm reading the data in a temp-table, did not do any error-check.

But still, how comes that I recieve an '?' and not the data ?

This thread is closed