Web Service Example 1: RPC-Oriented Method with Simple Type Parameters

Previous Next

See Also

In this step-by-step example, you define a web service provider with an RPC-oriented method that retrieves Tour details for a specified destination and tour type. The SQL statement of this method always returns zero or one record. All parameters are simple type parameters.

Requirements:

The Internet Information Services (IIS) web server needs to be installed, with a virtual directory. Refer to your web server documentation for details.

This example uses a local web server with name MyWebServer, and a virtual directory with name TravelService. This example consists of two parts:

· Define a TRAVELSERVICE web service provider.

 

· Define a TRAVELCOMPONENT web service component that calls the TRAVELSERVICE web service provider.

In this example, the TRAVELCOMPONENT web service component is defined in the same repository.

IMPORTANT:

Keep in mind that this is not a realistic situation: In a real-life situation, the TRAVELSERVICE provider will be called from some remote client application somewhere in the world.

Next: Web Service Example 1: Define a Web Service Provider

Related Topics

Web Service Example 1: Define a Web Service Provider

Web Service Example 1: Define a Web Service Component

Web Service Example 1: SOAP request and response messages