Android Question return all html codes of page instead of one string (by B4A commands)

armm1388

Member
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
 
Top