Hi, I'm trying to consume a WebService, but the result is a very large XML String, and the app stops after a certain time, if the WebService shows few records works fine, but if it does show the entire table, that's where the app is stopped.
This is my code:
I tried adding this line "ProductsWS.GetRequest.Timeout=1000", but still fails.
I'll appreciate any help you can give me.
Thanks in advance.
This is my code:
B4X:
Dim ProductsWS As HttpJob
SOAPParam = File.ReadString(File.DirAssets, "SOAPProducts.txt")
ProductsWS.Initialize("WSProducts",Me)
ProductsWS.PostString(PostUrl, SOAPParam)
ProductsWS.GetRequest.SetContentType("application/soap+xml; charset=utf-8")
I tried adding this line "ProductsWS.GetRequest.Timeout=1000", but still fails.
I'll appreciate any help you can give me.
Thanks in advance.