Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Call a web service in visual studio .NET

Call a web service using Visual Studio 2008.

In this example, we will be using Visual Studio 2008. First, create a new Windows Form Application for this example.

Image omitted: DotNetProject.png
On the resulting form, we created a richTextBox \(which we named 'richTextBoxResult'\) and a button \(named buttonResult\).
Image omitted: DotNetExampleForm.png
- **[Use a service reference in a C Sharp integration](c_UseAServiceReference.md)**

Use a wizard to add a service reference for a C Sharp integration. - Use a web reference in a C Sharp integration
Use a wizard to add a web reference for a C Sharp integration. - C Sharp integration source code
After defining the source code, insert it.

Parent Topic:Web services C Sharp .NET end to end tutorial