The following is the procedure for creating the Hello service adapter.
- Start Eclipse.
- In the tree view, select and right-click Service Definition List, and then select Add Service Adapter.
![[Figure]](figure/zs991900.gif)
The dialog box for setting the type of service to be used from the service adapter that you are creating appears.
- Select Web Service as the type of service component, and then click the Next button.
![[Figure]](figure/zs992000.gif)
The dialog box for entering the information that is necessary for adding a SOAP adapter appears.
- Enter HelloServiceAdapter as the service name.
- Click the ... button.
The Open dialog box appears.
- Select HelloService.wsdl, and then click the Open button.
HelloService.wsdl is located in the following directory:
service-platform-installation-directory\CSCTE\Samples\HelloServiceAdapter\Service\WSDL
- Click the Next button.
![[Figure]](figure/zs992100.gif)
The dialog box for specifying the port appears.
- Select Hello from the Specification of Port drop-down list, and then click the Finish button.
![[Figure]](figure/zs992200.gif)
The service adapter for calling the Hello service (HelloServiceAdapter) is created, and then the service adapter definition (standard) window appears.
- Change the service ID to HelAdp.
![[Figure]](figure/zs992300.gif)
In the service adapter definition (standard) window, the information that has been read from the specified WSDL, such as the service type and access-target address, is displayed. In addition, the message format that has been automatically generated from WSDL is displayed (in Message format) in the Request message and Response message areas. The contents of the message format can be checked by clicking the Display button.
- Click the Service adapter definition (details) tab at the bottom of the window.
The service adapter definition (details) window appears. In the service adapter definition (details) window, specify the client definition file.
- In the service adapter definition (details) window, click the Browse button.
![[Figure]](figure/zs992400.gif)
- Specify c4webcl.properties as the client definition file.
For the HelloServiceAdapter sample program, the location of the above file is as follows:
service-platform-installation-directory\CSCTE\Samples\HelloServiceAdapter\Service\HelloService\c4webcl.properties
- From the menu, select File, and then Save.
The service adapter definition is now completed.