In this blog, I will be describing how to configure and publish enterprise services from your SAP business suite system into NWCE Services Registry. Most of you have seen the SAP ES Workplace and the Services Registry (http://xi.esworkplace.sap.com/sr) configured for the SAP hosted ES environment (HU2 – SAP ERP 2005 ECC 600, HU5 – SAP SRM 5.0, HU8- SAP SCM 5.0).
The Services Registry is a UDDI based registry that contains definitions of enterprise services and references to their metadata. With NWCE 7.1, SAP has provided an open standard UDDI v3.0 conformant registry, in which you can publish the enterprise services from the SAP ERP system. The CE 7.1 (SP1) does not offer any UI for publishing the services into service registry. Publishing the services into services registry can be performed by calling the ESRegistry API’s (web services). Publish your Services to ES Registry is the blog in SDN that talks about how to publish services using this API’s into Services Registry.
Enterprise services can be enabled in your ERP system using the enhancement package 2 or using the ES Bundle of the appropriate Business Suite System(CRM, SRM, SCM, and SNC). The following are the steps for configuring and publishing the services into CE Services Registry.
Create a RFC destination ‘SR_PUBLISH’ with connection type ‘G’ pointing to your ESRegistry web service URL.
Create the Enterprise Registry parameters using the transaction ‘WSPARAM’. Here you define name of the UDDI Registry for publishing the enterprise services and the logical port name (which will be the name of the logical port used in the ‘LPCONFIG’ transaction).
Next step will be creating the logical port for the ABAP proxy class ‘CO_ESREGISTRY_WSSI’. Enter the same logical port name defined in the previous step and click on the ‘Create’ icon to create the logical port. Navigate to ‘Call Parameters’ and enter the RFC destination (SR_PUBLISH) created in Step-1.
To publish the services into service registry, the following three operations need to be performed. This can be accomplished by using the transaction ‘WSPUBLISH’
Select the name of the service to be published in service registry and name of the defined registry from the drop-down (SR_UDDI), check ‘Force Publication’ as shown below:
As a result of publish, the system will display the publishing log:
Now we will verify the published physical system and service in the CE Services Registry. Login into the services registry http://localhost:50100/sr
First we will verify the published physical system, by selecting the system from the drop down and clicking on the ‘Select Details’ link:
Next we will verify the published service and service definition by specifying the service in the Find option
In my next blog, I will describe how to classify the services and consume it from visual composer and Netweaver Developer Studio using the service registry.