Call a web service in visual studio .NET

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • 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.

    Figure 1. Dot net project

    On the resulting form, we created a richTextBox (which we named 'richTextBoxResult') and a button (named buttonResult).

    Figure 2. Dot net example form