Using the transaction WSADMIN, you can carry out the following actions for released Web services:
· Calling of the Web service homepage
· WDSL generation for released Web services
· Setting of features for the SOAP Runtime (logging, tracing)
· Publication of a Web service as a business service in the UDDI
Proceed as follows:
...
1. In the initial screen of the WSADMIN transaction, choose Goto ® Settings Administration. Enter the name of an application server on which a J2EE Engine was started.
2. Select the required Web service.
3. Choose to call the Web Service Homepage. When you call the Web service homepage, enter the user ID and password where required.
Choose New...
...
To generate a WSDL document for your Web service, choose . In the dialog box that appears, you can choose the style for the generated WSDL document.
In the style definition in WSDL documents, there is a basic difference between the RPC (remote procedure call) style and the document style. In the RPC style, the SOAP message contains removed procedure calls. Data types are used in accordance with SOAP specifications. In the document style, XML documents are exchanged. The data types are defined with the help of the XML schema.
If you tick the Include SAP Features in WSDL, non-standard features in the WSDL document will be marked as SAP features.
Proceed as follows:
...
1. Select the required Web service in the initial screen of the WSADMIN transaction.
2. Choose Change.
3. Choose your trace and log settings.
To display the trace log, call transaction SM59 and choose RFC ® Display Trace. To display the system log entries for canceled Web services, choose transaction SM21.
By choosing Goto ® Settings SOAP Runtime,you can define that trace and log settings will apply to all Web services across the system. Choose the radio button Use System Settings for all Services. Choose the required criteria under System Settings.
By choosing Individual Settings for Services, you can select Default Settings and thus define the criteria for recording trace and log protocols. For each processed Web service you can call the WSADMIN transaction and choose Goto ® Settings SOAP Runtime to adopt the defined default settings or choose other criteria displayed in the input help.
The following prerequisites must be fulfilled before you can publish a Web service as a business service.
· Note that the Web service definition must have been created as a tModel (see Creating a Web Service Definition).
· The UDDI registry in which the Web Service is to be published must be defined in the SAP system (see Maintaining UDDI Registries).
· Choose Goto ® Settings Administration if you wish to select the checkbox Execute UDDI Registrations in the Background in the initial screen of the transaction. In this case, the Web service is published without calling the UDDI client. For execution of UDDI registrations without calling the UDDI client, it is necessary that a default business entity was entered in the UDDI registry in which the Web service is to be published (see also Maintaining UDDI Registries).
Choose in the subscreen UDDI Publications. Enter the name of a UDDI Registry and log on with your user name and password. In the UDDI client, choose the Publish pushbutton to publish the Web service.