Hi,
I have a problem when executing the function setrequestheaders() to which the following string is passed as a parameter:
"content-type: text/xml; charset=utf-8"
This call sometimes throws me the following error:
"Bad runtime function reference at line 20 in function http_function() of object uo_object." which corresponds to the line:
li_res = http.setrequestheaders("content-type: text/xml; charset=utf-8")
The inconvenience only happens from the compiled application, if it is run from the IDE it works correctly.
Any idea what might be going wrong?
Thanks
- Menna Pablo Javier
- PowerBuilder
- Friday, 25 August 2023 14:50 PM UTC
- Page :
- 1
There are no replies made for this question yet.
However, you are not allowed to reply to this question.
However, you are not allowed to reply to this question.
We are using:
IDE PB: Version 2022 R2 Build 2819,
Runtime version 2022 Build 2819.
The application is compiled in 32 bits on Windows Server 2012. Then, we run the application in Windows 10 and 11.
The libraries pbhttpclient.dll, pbjson.dll and pbrestclient.dll are from runtime 22.1.0.2819
Regards