Alexander Stolte Expert Licensed User Longtime User Jan 19, 2019 #1 Hello, i have a problem in my jRDC2 project, i modify the project so i can call my API via HttpJob and the response i put in one of my sql parameter in the rdc. The problem is: Code: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://www.google.com") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release on this line: Wait For (j) JobDone(j As HttpJob) the client become this response from the query: Code: Copy Error reading response: (EOFException) java.io.EOFException: Unexpected end of ZLIB input stream If i now want to execute my sql statement then comes this error on my rdc: Code: Copy (Exception) java.lang.Exception: java.sql.SQLException: You can't operate on a closed Connection!!! is this not possible to call a webservice in the rdc?
Hello, i have a problem in my jRDC2 project, i modify the project so i can call my API via HttpJob and the response i put in one of my sql parameter in the rdc. The problem is: Code: Copy Dim j As HttpJob j.Initialize("", Me) j.Download("https://www.google.com") Wait For (j) JobDone(j As HttpJob) If j.Success Then Log(j.GetString) End If j.Release on this line: Wait For (j) JobDone(j As HttpJob) the client become this response from the query: Code: Copy Error reading response: (EOFException) java.io.EOFException: Unexpected end of ZLIB input stream If i now want to execute my sql statement then comes this error on my rdc: Code: Copy (Exception) java.lang.Exception: java.sql.SQLException: You can't operate on a closed Connection!!! is this not possible to call a webservice in the rdc?
DonManfred Expert Licensed User Longtime User Jan 19, 2019 #2 Alexander Stolte said: is this not possible to call a webservice in the rdc? Click to expand... You mean in the RDCHandler? Sure it is. I guess this is the right Tutorial on how it works. https://www.b4x.com/android/forum/t...t-for-sleep-in-server-handlers.81833/#content Upvote 0
Alexander Stolte said: is this not possible to call a webservice in the rdc? Click to expand... You mean in the RDCHandler? Sure it is. I guess this is the right Tutorial on how it works. https://www.b4x.com/android/forum/t...t-for-sleep-in-server-handlers.81833/#content