Debugging and Testing Web Services

There are a few convenient ways to test a Web Service. You can test a Web Service with the integrated debugger or without the integrated debugger, or you can use the Build and Browse menu. Each method is described in the subsections that follow.

Testing Web Services with the Integrated Debugger

You can set breakpoints and run your XML Web Service as an application. This approach will create a test Web Page, from which you can invoke the Web methods. When the executing test page reaches a breakpoint, control will switch to the Visual Studio .NET integrated debugger, and you can step through and evaluate your Web Service code as you would any other application.

Figure 13.4 shows an example of a test page returned ...

Get Visual Basic® .NET Power Coding now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.