how do I write code to consume a web service in visual basic?
8:59 pm in SOA Answers by admin
I have managed to find a suitable web service online through the Visual Studio but I don’t know how to consume it, please help?
Login or Signup to meet new friends, find out what's going on, and connect with others on the site.
Sorry, you are not allowed to register by yourself on this site!
You must either be invited by one of our team member or request an invitation by email..
Note: If you are the admin and want to display the register form here, log in to your dashboard, and go to Settings > General and click "Anyone can register".
8:59 pm in SOA Answers by admin
I have managed to find a suitable web service online through the Visual Studio but I don’t know how to consume it, please help?
step by step (VS 2005):
1. create a new project
2.a. right-click solution name in solution explorer
2.b. or goto project menu
3. select add reference
4. type in or copy paste the url in the url text box and click go
5. once the web reference in listed, click add reference
6. declare the service as a variable so you can create an object
7. the properties, events and ,methods are now available to you. Use it as any other class
By consume do you mean use?
Visual Studio.NET makes asp.net powered sites. You have to make sure that your host has asp.net support and the write the behind code (everything in the .aspx.vb files in Visual Basic).