sending a keycode to a webservice

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

How do you send a keycode or a passcode to a webservice interface (they are
stored as parameters)? So I guess I am asking how do you send parameters to
web services.. thanks
 
Hi Brian,

I think to send parameter to a webservice is to call a webmethod with
parameters of the webservice.
If I have any misunderstanding, please feel free to let me know.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Brian,

In this sample is getting a parameter from a webservice which comes from
again from another webservice.

Do you want it the other way, than I can change this sample for you

It is so easy to make, just open a webservice project and change 3 or 4
lines, than add a windowform project. Build and debut.

I hope this helps?

Cor

First Webservice
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Return "First Service"
End Function
///
Second Webservice
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Dim me1 As New localhost.Service1
Return me1.HelloWorld
End Function
///
Window Form
\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim me2 As New localhost.Service2
Me.Label1.Text = me2.HelloWorld()
End Sub
///

I hope this helps a little bit?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top