Hi
unluckily I use B4A after some years, and I got a new problem on an "old" working program. This program uses OkHttpUtil2 library to send a string to an asmx service. I have printed the two arguments of the:
job1.PostString(Url,R.ToString)
where the error occurs. The parameters are:
http://www.galileo2000.it/AcmMate/AcmMate.asmx/Work
and
Request=O=88|P='r','3',0.7853887,2.0582553,2.004,0|
The webservice, tested separately, works.
The B4A log error reports the lines:
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
"Error occurred on line: 58 (HttpUtils2Service)".
java.lang.IllegalArgumentException: argument 1 should have type anywheresoftware.b4a.phone.Phone$IntentWrapper, got anywheresoftware.b4a.objects.IntentWrapper
The problem is that this code was working and I don't figure out why the "first parameter", i.e. the Url, is now not legal. (By the way I am not Java programmer..)
Thanks is advance for any hint.
unluckily I use B4A after some years, and I got a new problem on an "old" working program. This program uses OkHttpUtil2 library to send a string to an asmx service. I have printed the two arguments of the:
job1.PostString(Url,R.ToString)
where the error occurs. The parameters are:
http://www.galileo2000.it/AcmMate/AcmMate.asmx/Work
and
Request=O=88|P='r','3',0.7853887,2.0582553,2.004,0|
The webservice, tested separately, works.
The B4A log error reports the lines:
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
"Error occurred on line: 58 (HttpUtils2Service)".
java.lang.IllegalArgumentException: argument 1 should have type anywheresoftware.b4a.phone.Phone$IntentWrapper, got anywheresoftware.b4a.objects.IntentWrapper
The problem is that this code was working and I don't figure out why the "first parameter", i.e. the Url, is now not legal. (By the way I am not Java programmer..)
Thanks is advance for any hint.