Web Service Description and Data Types

You’ve seen that creating a Web service involves writing a simple J# class and that the ASP.NET runtime does the rest. The ASP.NET runtime does a lot of work on your behalf, but sometimes you need more control over how your Web service appears to clients and the style of service it provides. One way you can do this is by adapting the description of your service. This effort might involve changing names and URIs, mapping types, and configuring the handling for custom types. Let’s look at what you can do to customize service description and data type handling.

Exposing a Web Service Interface

When you tested out the simple Web service, you saw the screen shown earlier in Figure 17-2. Clicking the Service Description ...

Get Microsoft® Visual J#™ .NET (Core Reference) 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.