Web Service Example 1: Define a Web Service Component |
This topic is the second part of Web Service Example 1: RPC-Oriented Method with Simple Type Parameters. First complete Web Service Example 1: Define a Web Service Provider. This example is an add-on. 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. To define a web service component that calls the TRAVELSERVICE web service provider:
The New Web Service Component Wizard appears.
http://MyWebServer/TravelService/TRAVELSERVICE.wsdl
The web service component is created.
INVOKE TRAVELCOMPONENT.GETTOURS WITH SELECT 'AUSTRALIA','ISLAND SUNTANNER' All details of this record (if any) are returned in plain text. For background information about all SOAP messages sent, refer to: Web Service Example 1: SOAP request and response messages. |