Summary

The generic files that Visual Studio .NET creates for you when you build a new Web Service project aren't generally too useful for real-world Web Services, although they do provide a great starting point. You'll want to initiate modifications to lead the Web Service source away from the basic “Hello World” model. For example, this chapter showed how to add your own target namespace and description, as well as remove the HelloWorld() method and add your own methods.

The chapter looked in some detail at the WebMethod attribute and some of the functions that it provides. Probably the three biggest are MessageName, Description, and TransactionOption. The first two modify your WSDL output, while the third enlists COM+ transactional support ...

Get Applied SOAP: Implementing .NET XML Web Services 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.