SOA Manager offers an accelerated method to configure service definitions with a reduced set of configuration options. So-called simplified Web service configuration (Simple Consumer Support Provider SCSP) is only available for provider systems. It is intended to support simple Web Service consumers that are not able to parse WSDL documents.
The following constraints apply to simplified Web service configuration:
Bindings |
|
Authentication methods |
The following authentication methods are supported:
|
APIs |
|
Note
To be able to use the full set of configuration options, use Web Service Configuration. Choose
.You may need the following roles to work with simplified Web service configuration:
SAP_BC_WEBSERVICE_ADMIN_TEC
SAP_BC_WEBSERVICE_CONFIGURATOR
SAP_BC_WEBSERVICE_OBSERVER
SAP_BC_WEBSERVICE_ADMIN_BIZ
More information: SAP Note 1318883 (Introduction of new authorizations in Web Service)
To manually configure a provider using simplified Web service configuration, perform the following steps:
Start SOA Manager.
Use the transaction code SOAMANAGER.
Go to the Service Administration tab.
Choose Simplified Web Service Configuration.
The search screen is displayed.
Search for or specify a service definition.
Choose Go.
The service definition is displayed with the configuration options.
Make your changes.
You can choose the following settings:
Setting |
Description |
---|---|
User Name / Password (Basic) |
This option can be set without the need for any additional configuration. |
X.509 Client Certificate |
Additional configuration of certificates is needed. |
SAP Logon Ticket |
Single Sign-On using SAP Assertion Tickets Additional configuration is needed. More information: See SAP Note 304450 (Single-Sign-On with SAP logon tickets in non-SAP Systems) |
Note
At least one option needs to be selected for a binding to be created.
Choose Save.
When the configuration is saved, a binding is created, assigned a name, and activated. A message confirms that the configuration has been saved. Changes are logged and displayed in the Recent Changes section.
Note
With Simplified Web Service Configuration, you can only create one binding for a service definition. To display the full binding information, perform the following steps:
Go to the Service Administration tab.
Choose Web Service Configuration.
Specify the service definition.
Choose Go.
Select the row with the service definition and choose Apply Selection.
Go to the Configurations tab.
Select the row with the creation type Simple consumer related.
Choose Display.
The authentication options that you set for the simplified Web service are displayed in the Authentication section. Note that a simplified configuration cannot be changed here.
To display a detailed summary of the provider configuration, select the row with the service and choose Show Details.
A dialog box is displayed.
Note
A dialog box is displayed only if a configuration has been saved.
URLs are displayed for the WSDL document both with WS Policy Information and without WS Policy Information. Except for the WS Policy information, the two WSDL documents are identical. The Access URL field displays the address to which the SOAP request is sent. This URL is contained in the WSDL document. The URL remains the same even if the configuration is changed.
Note
You can also display information about the WSDL documents in the Web Service Configuration section. Note that the URLs displayed the Web Service Configuration section are not the same as those displayed in the Simplified Web Service Configuration section.
Choose OK to close the dialog box.
To display changes made to a service definition, select the row and choose Show Changes.
An overview of changes to the configuration is displayed.
The Recent Changes section displays confirmation that the configuration was activated, and the name of the binding that was automatically created. If multiple service definitions are displayed in the overview, the Recent Changes section displays the information for the selected service definition.
To use program code to configure providers using simplified Web service configuration, perform the following steps:
To set the default authentication values for the Simple Client Provider API, go to the API Settings tab.
Here, you can decide whether to allow programs to automatically create bindings, and which authentication options to apply.
Select the settings you want to be the defaults for the API.
Note
The options are the same as for the service definition configuration. These options cannot be overridden by a program that uses the API.
Note
If you deselect all the options, a program cannot automatically create a binding.
Choose Save.
The following are the APIs for configuring provider programs using simplified Web service configuration:
Enable Service: ;CL_SRT_PUBLIC_SDEF_DEPLOYMENT->IF_SRT_PUBLIC_SDEF_DEPLOYMENT~ENABLE_SERVICE_DEFINITION_SC( )
Disable Service: CL_SRT_PUBLIC_SDEF_DEPLOYMENT->IF_SRT_PUBLIC_SDEF_DEPLOYMENT~DISABLE_SERVICE_DEFINITION_SC( )
Note
Both methods do not raise any exception so you will not be informed whether configuration process has been sucessfully or not.
An instance of CL_SRT_PUBLIC_SDEF_DEPLOYMENT can be created with public factory CL_SRT_PUBLIC_FACTORY=>GET_SERVICE_DEFINITION_HANDLER( ).
data l_sdef_name type srt_wsp_dt_obj_name.
data lr_sdef_deploy type ref to if_srt_public_sdef_deployment.
lr_sdef_deploy ?=cl_srt_public_factory=>get_service_definition_handler().
l_sdef_name = |SRT_TEST_PROVIDER|.
\ enable configuration for service definition
lr_sdef_deploy->enable_service_definition_sc( l_sdef_name ).
data l_sdef_name type srt_wsp_dt_obj_name.
data lr_sdef_deploy type ref to if_srt_public_sdef_deployment.
lr_sdef_deploy ?=cl_srt_public_factory=>get_service_definition_handler().
l_sdef_name = |SRT_TEST_PROVIDER|.
\ disable configuration for service definition
lr_sdef_deploy->disable_service_definition_sc( l_sdef_name ).