Bug? B4A V5.5 using OkHttp and HttpUtils2 Libs

imbault

Well-Known Member
Licensed User
Longtime User
Hi,
I,ve just switched to B4A V5.5.

When I open any Project which Uses:
Lib OkHttp V1.00
Lib HttpUtils2 V2.01

I've got :
Unknown type :anywheresoftware.b4a.Http.ClientWrapper.HttpUriRequestWrapper
Are you missing a library reference?

Code incriminated:
B4X:
Dim jobtest As HttpJob
...
...
'below are problematics
jobtest.GetRequest.SetContentType("")
jobtest.GetRequest.SetHeader("SOAPAction", "http://patrick.imbault.org/"  & WsName)
jobtest.GetRequest.SetHeader("Content-Type", "text/xml; charset=utf-8")
jobtest.GetRequest.timeout = timeout

Workaroud is to remove HttpUtils lib, and adding HttpUtils2Service Service code module.

Am I missing something?

Many thanks.

Patrick
 
Top