SAP PO for Beginners Part – 13 – How to register and test WSDL files in Service Registry
In this post, we will discuss the steps to be followed on how to register and test WSDL files in Service Registry provided by SAP PO. Additionally, we will also test the hosted WSDL file to ensure proper functionality.
To put it plainly, underneath is the substance we will be intricate in this instructional exercise:
- Overview
- What is Service Registry
- Accessing Service Registry
- Publishing Service in Service Registry
- Testing WSDL Service in Service Registry
1. Overview:
Here, we will dive deep into the Service Registry, and I will show you how to register and test WSDL files in Service Registry by importing the WSDL of your interface. This allows others to easily discover your service. It simplifies the process, so in the future, if someone needs to trigger a PO_CREATE, they don’t need to contact you. Instead, they can go to the Service Registry, find the available services, and directly use it to trigger a message to the AEX system or PO system.
We should begin.
2. What is Service Registry ?
Administration library is a UDDI based storehouse which contain undertaking administrations and related metadata. In basic terms, it is where you can store data about what administrations is on the which framework. It assumes a significant part in your administration situated design (SOA) procedure and gives a system to enroll, distribute, and find web administrations. The administrations distributed in the Help Library are ordered and classified in a way that works with finding them without any problem. Prior to posting the assistance under help library, you ought to have the connection point created and prepared. Distribute the connection point in help library, then, at that point, send the outsider the WSDL detail like WSDL URL, actual WSDL record and username/secret key. Not all connection points can be facilitated in Help Vault, just HTTP, Cleanser, XI and WS connector types can be enlisted.
Offices that we can-do in-Administration Vault:
- Publish an existing web service in your SAP landscape, including its metadata and endpoint.
- Classify and categorize the published service.
- Query and search existing published web services.
- Export and import the data contained in the Service Registry.
3. Accessing Service Registry:
Explore to PO Landing page http://:/dir/begin/index.jsp and under the endeavors administration store area, click on the Assistance Library connect.

On clicking Administration Vault, administration library window shows up with three primary choices under Assistance Definitions tab. Search, Peruse and Distribute.
4. Publishing Service in Service Registry:
There are two different ways to publish the service:
- Integration Directory menu
- Manual registration in Service Registry
We will investigate the Choice 2 exhaustively in this post which is the most favored approach to facilitating the assistance.
I would utilize Cleanser Intermediary to Cleanser Webservice simultaneous connection point which I have made sense of exhaustively on Part #11.
Initial step is to download the WSDL record, to do as such, explore to Incorporation registry and double tap on the ICO to open it. In the Reconciliation Design menu bar, select Showcase WSDL as displayed beneath.

WSDL will get displayed.

No need of saving the WSDL document, we simply need the WSDL URL which you can find in the above featured segment. Click on the Duplicate WSDL URL TO Support choice toward the finish to duplicate the URL.
Presently go to Administration Library device. As said, there are three choices: search peruse and distribute. To start with, we will distribute the help and quest for it.
Click on Distribute connect. It will incite to enter the WSDL URL which we got it from Reconciliation Index.
Glue it and snap on Straightaway.

On clicking Straightaway, you will be approached to confirm yourself with username and secret word. Give it to continuing further.
Following stage is the Assistance subtleties segment where administration vault will detect and approve the URL and bring its metadata data like port sort name and namespace. That is all there is to it. Don’t bother tapping on Straightaway. It is only for data reason.
Thus, click on FINISH and you will see the condition of the help as CONFIGURED.

Presently it is the right time to Distribute. Click on Distribute.

On effective distribute, you will getting a help definition key.
Presently you can attempt to look for the distributed help by tapping on SEARCH connect. As we have done it the initial time, it’s showing just a single help which we did now.

Presently you can find your connection point name, namespace and the endpoint where you can track down the WSDL. With this data, you can set off/test the connection point from administration vault itself or from Cleanser UI apparatus by clicking that URL and download the WSDL record and import it in Cleanser UI device.
Prior to moving to testing the connection point, click on the WSDL URL to check whether the WSDL is appearing.


5. Testing WSDL Service in Service Registry:
In this segment, we will perceive how to test a WSDL administration through WS Pilot device. How about we get everything rolling to test the help.
Explore to Administration Library landing page. Track down the distributed assistance via looking for a similar under SEARCH connect. In the subtleties area, click on ENDPOINTS tab where you will see the HTTP and HTTPS port.

Click on TEST button which will explore to WS Guide instrument. WS Guide is explicitly utilized for testing web administrations.
In the WS Guide window, you could confront what is happening like me, where prior to testing in WS Pilot device, one need to whitelist the host in the gave URL in the mistake message (middleware settings).

To whitelist the host, explore to the middleware settings URL:
http://:/nwa/middleware-settings
Under WS Pilot tab, enter the host name and snap on SAVE. On tapping the SAVE button, framework will permit the webservices which contains that host for testing in WS Guide device.

Once finished, again click on TEST from administration vault page. Presently you will not get that mistake.
The point of interaction subtleties will be shown. Click on Straightaway.
On clicking Straightaway, you will see the info structure.
Possibly you can physically fill the test information or import the record as XML/TXT through IMPORT – > TEST Information choice as displayed underneath.

On fruitful import, you will see the information filled like underneath and click Straightaway.

On clicking Straightaway, you will see the reaction under the Outcome area.

That’s all there is to it. We’ve covered the publishing and testing part in the Service Library. If you have any doubts, questions, or suggestions regarding how to register and test WSDL files in Service Registry, please leave your comments below. Happy learning!
YOU MAY BE INTERESTED IN
Create and Consume Business Add-in(BAdI) in ABAP