You release service definitions for the SOAP runtime using the transaction WSCONFIG. This transaction reads the predefined settings – for example for data transfer security – from the service definition and offers the appropriate options for settings. In this way, the values specified in the service definition are used as default values, or used to restrict values.
The Web service should be released by a Web Service Configurator. He or she knows the system landscape and the technical requirements of the application server where the Web service is to be called. He or she assigns attributes to features selected in the WSD.
Prerequisites
You have created a service definition.
Procedure
Procedure:
1. Open the transaction WSCONFIG.
2. In the Definition field, enter a name for the service definition.
3. Choose Create.
4. In the Release Text field, enter the text under which the Web service will be published in a Registry.
5. Under Call Details, specify the Virtual Host, the URL, and the details of the Internet Communication Framework.
If you choose ICF Details, the SICF Services screen is displayed. You can display the SICF service (such as the logon behavior or security requirements) of your Web service by double-clicking it.
To use a call address other than the one proposed, create an external alias (see also External Aliases.)
To generate the WSDL document, the host and port number must be defined uniquely. Generally, the values defined in the ICM for the current application server are used for the default host.
If you want to use the address of the SAP Web Dispatcher, or a specific application server, in the WSDL document, enter the host name and port number under Goto ® Maintain Call Address for Virtual Hosts in the initial screen of the transaction.
Note that these entries must always be made for all hosts apart from the default host, because proposed values cannot be generated from the system.
6. Choose the Operations tab. You use this tab to choose a separate security profile for each operation (inbound/outbound). To do so, choose the input help in the respective fields.
Note that you will be using security profiles if you use WS Security for the security of the Web service. For simple cases – for example, if a client communicates with just one server without any detour – HTTPS will suffice as an encryption mechanism. For more information, see Web Services and Security.
7. Save your changes. The Web service is displayed in the list of the Web services released for the SOAP runtime.
Using Goto ® Check Results, you can check the consistency of a Web service. The following items are checked:
¡ Information on interface matches the service definition
¡ Information regarding feature settings matches the service definition
¡ The assigned call address can be called using the ICF
¡ Compare of ICF settings for logon behavior and security with the settings for the WSD
¡ The address for generating the WSDL can be determined