Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

i write a webservice and upload it to my host, by asp.net. it works fine.
now i want to use it by B4A.
i write bellow lines. but job1.Success is false. why?



Dim job1 As HttpJob
job1.Initialize("", Me)
Dim ConString As String = "Data Source= ASPNETDB3.mssql.somee.com;Initial Catalog=ASPNETDB3;User ID=a;Password=***;"
job1.PostString("http://mywebsite.com/MYServices2.asmx?op=insert_into_test_tbl2","conString =" & ConString & "&name=" & "a" & "&grade=" & 3)
Wait For (job1) JobDone(job1 As HttpJob)
If job1.Success Then
a=job1.GetString
End If
job1.Release


thanks

What I have tried:

i dont know what should i do.


help
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900