Shaping the WSDL File
In this section, we will take a simple, unadorned WSDL file. Through the use of attributes, we will change the file in every way we possibly can. By doing this, you will see the many ways a SOAP message can be shaped. Each change will be explained so that you understand what was done and what the effects were. ASP.NET will generate the WSDL for us in every instance. For the example, we will look at a simple Web Method that takes a number and returns a structure that supposedly relates to that number. In reality, everything will be hard coded. That's okay. The purpose of this section is to show what happens outside the body of the implementation, not inside it. You will want to follow along with the modifications on your ...
Get Creating and Consuming Web Services in Visual Basic® 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.