The following code works fine in b4i but fails in b4a, the web service works fine in any browser.
What could be my mistake? can someone help me? Attached image with log result
B4X:
Sub sumandopub
Dim datos,cadena As String
Dim j As HttpJob
idcel="0"
sversion="nada"
idpub="nada"
xtipopub="android"
cadena="https://www.siracmexico.com/movilprod/siguientevisto.php/?xid="&idpub&"&xsiglas="&radio&"&xcel="&idcel&"&xversion="&sversion&"&xtipovia="&xtipopub
'https://www.siracmexico.com/movilprod/siguientevisto.php/?xid=nada&xsiglas=XHSK&xcel=0&xversion=nada&xtipovia=android
Log(cadena)
j.initialize("",Me)
j.Download(cadena)
Wait for (j) JobDone(j As HttpJob)
If j.Success Then
datos=j.GetString
Log(datos)
Log("publicidad registrada")
Else
Log("falla publicidad")
End If
End Sub
What could be my mistake? can someone help me? Attached image with log result