O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.4. Customizing the Service's WSDL

In Chapters 3 and 4, you learned about SOAP messages and WSDL documents. You saw examples of WSDL and learned how WSDL is used to specify a Web service's interface. This section explains how you can control the auto-generated WSDL document and the service's SOAP messages to accommodate your requirements.

6.4.1. Disabling Protocols

By default, .NET lets you invoke Web services using HTTP GET, HTTP POST, and SOAP over HTTP. In fact, the auto-generated test page relies on HTTP GET to test the Web service. While supporting various protocols is a good thing for testing purposes, you might want to remove some of these protocols before you go into production. To remove HTTP GET and POST support from your Web service, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required