DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
Isaac 8/9/2011 7:17:45 AM

Code to call a web service

When I develop a VB application that calls a web service, I usually am developing the web service in the same solution. That's convenient, because you can step through and debug all the code.

But I'd also like to be able to deploy the web service and have my VB app call the live service. So...

Here's VB code that will call a web service with a dynamic URL. First, the app.config entry that makes it possible:

 

Version: Unknown or N/A
Section: .NET Development