Before we go through the steps on how to Publish Services in SAP PI/PO Service Registry, lets look at features of Service Registry.
Service registry is a UDDI based repository which contain enterprise services and related metadata. Located centrally in SOA landscape, It represents a set of web services. Service Registry supports SAP and non-SAP applications and developers can find availabe services they can use.
Main features of service registry,
Service providers can publish or expose their services centrally.
Consumers can search for available services by name or clarification.
You can assign user access to different services.
Integrated test environment.
Before posting the service under service registry, you should have the interface developed and ready. I would be using SOAP to RFC synchronous interface which I have explained in detail on a previous article. Follow the link to check the related post. This is the final step in exposing the web service to external parties. Publish the interface in service repository then send the third party the WSDL detail such as binding WSDL address, target address, physical WSDL file and username/password.
Note that only interfaces related to adapter types HTTP, SOAP, XI and WS can be registered in service registry.
There are two ways you can publish a interface in service registry.
Using Integration Directory menu.
Manually publishing the service.
Steps in detail for each method is as below:
Publish Service Using Integration Directory menu.
Open Integration Directory and navigate to your integration configuration.
Use the main menu option: Integration Configuration>Publish in SR.
Menu path integrated configuration, publish in Service Registry
Publish Service Manually in Service Registry.
Navigate to your integration configuration in integration directory.
Go to main menu option: Integration Configuration>Display WSDL
Integration Directory Menu Path Integrated Configuration Display WSDL
Copy the binding WSDL URL and save the WSDL to local location.
Display WSDL window
Go to service registry under Netweaver start page.
Select Service Registry
Go to publish and input WSDL link copied from integration directory in the previous step.
Upload WSDL in Publish Service Wizard
Provide authentication.
Change service state, classifications etc as required.
Service Registry Wizard Steps Overview
To test the web service use any SOAP tools such as SOAP UI.
Hi, I am Isuru Fernando, Senior SAP Integration Consultant with 10 years of SAP full-cycle implementation and support project experience.
From the early days, I had a passion for coding, software development, and everything tech-related. I started my carrier as an ABAP developer and soon found my love for system integration when I learned SAP XI 3.0 in 2008. Playing a variety of roles from an offshore technical consultant (ABAP, PI/PO, BW, BOBJ) at the beginning of my career to a technical lead managing a team of consultants in different countries, I have gained immense experience in SAP project implementation life cycle.
Having the opportunity to work on SAP implementation projects in USA, EU, and Asia, I learned valuable ins and outs of global business processors in Sales and Distribution (SD), Material Management, Retail, Customer Relationship Management (CRM), and Finance and Controlling (FICO).
Through this blog, I want to share my expertise in SAP technical areas such as SAP ABAP, PI/PO, AIF, and Basis. I also want to provide a platform for others with similar ambitions who would like to share their SAP technical expertise with the world!