-
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
-
If the web Service class is wrapped in namespaces, then you import the namespaces.
-
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