lubomir2023
New member
- Joined
- Aug 8, 2023
- Messages
- 3
- Programming Experience
- 1-3
Can you help me with simple code ? I like to try free wsdl test service page from w3schools.
www
wsdl
i use visual basic / VS2019 / , created one button on form1, i add service reference , and i wrote this code.
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim client As New ServiceReference1.TempConvertSoapClient
Dim response As String
response = client.CelsiusToFahrenheit("20")
MsgBox("vysledok: " & response)
client.Close()
End Sub
End Class
but it doesnt work.
Any idea what to do ? I am really new in web service....
thx
www
wsdl
i use visual basic / VS2019 / , created one button on form1, i add service reference , and i wrote this code.
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim client As New ServiceReference1.TempConvertSoapClient
Dim response As String
response = client.CelsiusToFahrenheit("20")
MsgBox("vysledok: " & response)
client.Close()
End Sub
End Class
but it doesnt work.
Any idea what to do ? I am really new in web service....
thx