A armm1388 Member Nov 16, 2018 #1 Hello i have a web service which uploaded in my host. now i wants to call it in a B4A. this webservice returns only string "Hllo world". but when i call it by bellow commands of B4A, it return all html codes of page. why? code in B4A : Dim job1 As HttpJob job1.Initialize("", Me) job1.Download("http://www.agrp.somee.com/MYServices2.asmx?op=HelloWorld") Wait For (job1) JobDone(job1 As HttpJob) If job1.Success Then a=job1.GetString Msgbox(a,a) End If job1.Release Thanks
Hello i have a web service which uploaded in my host. now i wants to call it in a B4A. this webservice returns only string "Hllo world". but when i call it by bellow commands of B4A, it return all html codes of page. why? code in B4A : Dim job1 As HttpJob job1.Initialize("", Me) job1.Download("http://www.agrp.somee.com/MYServices2.asmx?op=HelloWorld") Wait For (job1) JobDone(job1 As HttpJob) If job1.Success Then a=job1.GetString Msgbox(a,a) End If job1.Release Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 18, 2018 #2 Please use [code]code here...[/code] tags when posting code. Upvote 0