Using the excellent httputils library I have succesfully got my app exchanging data via a SOAP asmx web service.
I am however struggling with the following code, whereby I am calling 2 subs, both of which call a webservice and bind returned data to the screen views:
Activity.LoadLayout("frmProductSearch")
HttpUtils.CallbackActivity="actProductSearch"
HttpUtils.CallbackJobDoneSub="JobDone"
HttpUtils.CallbackUrlDoneSub="UrlDone"
' bind brands
BindBrands
' bind the product categories
BindCategories
Everything runs fine when running each sub individually, however, when attempting to call the 2nd sub immediately after the 1st, I can step through and see that the httputils returns no data due to it still working on the request from the first sub.
Can anybody advise on the best way to overcome this issue?
Many thanks in advance.