Hello, I have been researching "soap asmx xml" for three days.
I'm learning new asmx.
I use translation I hope I can tell what I want.
As a result of my research, I was able to get the data on SQL Server.
The underlined in the picture is called "KullaniciAdi", that is Username.
The underlined in the picture is called "Sifre", that is Password.
Username = User
Password = user
I want it to show a message when they type this information in the text box. (If the information entered is correct)
Think like a login screen. If the information is correct, it will pass, if the information is wrong, it will not.
Can I do this with this information?
How can I do that?
Thank you.
I'm learning new asmx.
I use translation I hope I can tell what I want.
As a result of my research, I was able to get the data on SQL Server.
B4X:
Sub BilgileriGetir(ide As Int)
Dim xml As String=$"<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<BilgileriGetir xmlns="http://tempuri.org/">
<id>$Xml{ide}</id>
</BilgileriGetir>
</soap:Body>
</soap:Envelope>"$
Dim j As HttpJob
j.Initialize("j", Me)
j.PostString("http://192.168.1.48/WebService1.asmx", xml)
j.GetRequest.SetContentType("text/xml; charset=utf-8")
j.GetRequest.SetHeader("SOAPAction",$""http://tempuri.org/BilgileriGetir""$)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
xml_Label.Text = j.GetString
Else
MsgboxAsync(j.ErrorMessage,"")
End If
End Sub
The underlined in the picture is called "KullaniciAdi", that is Username.
The underlined in the picture is called "Sifre", that is Password.
Username = User
Password = user
I want it to show a message when they type this information in the text box. (If the information entered is correct)
Think like a login screen. If the information is correct, it will pass, if the information is wrong, it will not.
Can I do this with this information?
How can I do that?
Thank you.