Results 1 to 3 of 3

Thread: Web Services...

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Web Services...

    i made a WebService just for testing porposes...and tested it with BUILD AND BROWSE and worked well...now i want to test how to make it work thru a windows form..how do i do that?

    i know i have to "add web reference" and i already did that...but now i dont know how to "import" it to the code...i know i have to make import <something> but what?

    tks in advance

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    If the web Service class is wrapped in namespaces, then you import the namespaces.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Member
    Join Date
    Aug 2002
    Location
    Netherlands
    Posts
    39

    Lightbulb webservices in Forms

    After you referenced the webservice you dim it as an object:

    Code:
    Dim Myservice as New localhost.servicename
    after that you can use the webmethod you programmed:

    Code:
    Myservice.URWebmethod()
    Run it and there you go...

    Dozo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width