Example 1: Writing the entire server application
You can define a Web Service in your application and write definitions for the input and output records that will be used by the Service. This example illustrates a Service that has one operation, Add, to provide the sum of two numbers.