Hello, I have searched the forums and I have seen several messages with the same error, although in no case I have found what the solution is, or why the error occurs.
The problem is that it occurs on some devices, however on others it works fine.
Any idea what I should change to make it work on all devices?
Thanks.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			The problem is that it occurs on some devices, however on others it works fine.
Any idea what I should change to make it work on all devices?
Thanks.
			
				B4X:
			
		
		
		Wait For(WSCallSoapURL(WSLinkSoap, cParams.ToString)) Complete (Result As String)
Public Sub WSCallSoapURL(URL As String, Parameters As String) As ResumableSub
    Dim Result As String
    Dim j As HttpJob
    Try
        j.Initialize("", Me)
        j.PostString (URL, Parameters)
        j.GetRequest.SetHeader("Content-Type","text/xml")
        j.GetRequest.SetHeader("Content-length", Parameters.Length)              
        Wait For (j) JobDone(j As HttpJob)      ' <-- Here is the error.
        If j.Success Then
            Result = j.GetString
        Else
            ToastMessageShow("¡Hummm...!",False)
        End If
    Catch
        Log(LastException)
    End Try
    j.Release
    Return Result
End Sub