sending a keycode to a webservice

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian Henry

    sending a keycode to a webservice

    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


  • Peter Huang

    #2
    RE: sending a keycode to a webservice

    Hi Brian,

    I think to send parameter to a webservice is to call a webmethod with
    parameters of the webservice.
    If I have any misunderstandin g, 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.

    Comment

    • Cor Ligthert

      #3
      Re: sending a keycode to a webservice

      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.Servi ce1
      Return me1.HelloWorld
      End Function
      ///
      Window Form
      \\\
      Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As
      System.EventArg s) Handles Button1.Click
      Dim me2 As New localhost.Servi ce2
      Me.Label1.Text = me2.HelloWorld( )
      End Sub
      ///

      I hope this helps a little bit?

      Cor


      Comment

      • Brian Henry

        #4
        Re: sending a keycode to a webservice

        thanks

        ""Peter Huang"" <v-phuang@online.m icrosoft.com> wrote in message
        news:swRIvs8jEH A.3936@cpmsftng xa10.phx.gbl...[color=blue]
        > Hi Brian,
        >
        > I think to send parameter to a webservice is to call a webmethod with
        > parameters of the webservice.
        > If I have any misunderstandin g, 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.
        >[/color]


        Comment

        Working...