Skip to Content

Introduction

Before I dig into today’s topic please allow me to quickly explain what I have in mind with this new series I called “Developer Cheat Sheets”. In a nutshell, a ‘cheat sheet’ as I envision it is more or less a brief article about a very specific task of a developer using SAP NetWeaver Composition Environment 7.1.

From my personal experience I can say that especially the things we only need to do once in a while get easily forgotten. As I found myself doing such a task this very morning I figured I may want to document that. Furthermore, if I could use such a ‘cheat sheet’ for future reference –  so may you; the idea of a new series was born…

Setup of Service Registry (SR)

  1. First we logon to the SAP NetWeaver Administrator (NWA) of our CE system and navigate to Configuration Management>Scenarios>Configuration Wizard to run the corresponding CTC script.
  2. The CTC script we are looking for is called ‘Services Registry Destination Creation‘. Select it and click on the ‘Start’ button.
  3. The only input required is the second step where you need to maintain the credentials of a SR administrator.

Enable SR/WS Navigator integration

Unfortunately this CTC script does not set the URL of the Consumer Proxy, yet there’s a second CTS script that you need to run which does so: Connection Configuration to Central Services Registry.  Here are the necessary steps:

  1. Logon to the SAP NetWeaver Administrator (NWA) of our CE system and navigate to Configuration Management>Scenarios>Configuration Wizard to run the corresponding CTC script.
  2. The CTC script we are looking for is called ‘Connection Configuration to Central Services Registry‘. Select it and click on the ‘Start’ button.
  3. The only input required is the address and port of the server hosting the SR and the credentials of a SR administrator.

Now, searching the Service Registry from the WS Navigator should work fine. If not, please read on…

SOA Middleware Global Settings

You may want to test services outside of your corporate network and hence you need to specify a proxy and add external hosts to the WS Navigator White list. This is done as shown below:

  1. Navigate to SOA Management>Technical Configuration>SOA Middleware Global Settings within the NWA.

  2. Maintain your ‘HTTP Proxy ‘ settings on the corresponding tab. Save!
  3. In addition, you may want to specify external hosts for the WS Naviagtor White list on the ‘WS Navigator‘ tab. Please note that ‘*’ allows to call any external host (use with caution!). Save!

SAP NetWeaver Developer Studio (NWDS)

In orer to leverage the Service Registry you need to specify the URL in the SAP NetWeaver Developer Studio as well:

  1. Navigate to Window>Preferences

  2. Go to Web Services>Service Registry and maintain the server name/IP (without HTTP prefix) and the port of the server hosting the SR
  3. In addition, you may also want to set the (corporate) network proxy again under General>Network Conenctions

Publishing Enterprise Services (ES) into the SR

Fortunately for us our fellow community member BV PILLAI already wrote an excellent blog on how-to publish Enterprise Services from a SAP Business Suite backend to the SR in Configuring & Publishing Enterprise Services from SAP Business Suite system into NWCE (Netweaver Composition Environment) Services Registry blog. No need to add anything on this aspect 😉

Outro

Hope this ‘Cheat Sheet’ was useful to you. If so, check back for the next one 😉

 Note:
Please note that the provided links only work on a local standard installation. You may need to adjust the server name and port to your installation!
To report this post you need to login first.

11 Comments

You must be Logged on to comment or reply to a post.

  1. Michael Koegel
    Hi Matthias,
    great idea for a new series. Looking forward to read more. The links to the actual parts of the NetWeaver Administrator are also great, but you should make them open in a new window and make clear that the links only work for a default installation.

    Cheers, Michael

    (0) 
    1. Matthias Steiner Post author
      Thanks Michael, nice to hear that from you!

      I changed the links to open in a new window, thanks for the suggestion. I guess I just got to used to right-click and select “Open in new tab” in the meanwhile 😉

      (0) 
  2. p 2 5 6 9 6 0
    Hi Matthias,

    Nice blog with very useful information.

    I need some help with setting up NWDS EHP1 with the SAP server HU2. Is that possible following the same method that you have shown?

    (0) 
    1. Matthias Steiner Post author
      Hi,

      well, that’s a very valid question and I’m afraid that the answer won’t be satisfying for you. Currently, there is no establish process of how-to populate a custom Service Registry with data out of the ES Workplace backend systems (e.g. HU2) – partly due to IP and legal issues.

      In order to register your SR within a backend system to publish the ES from the backend system you would need the corresponding authorizations, which obviously we cannot issue externally.

      Generally speaking it would also be possible to export the data of the ES Workplace Service Registry as a file and import it into your SR. The NetWeaver Administrator provides the functionality to do so.

      The question I have would be why would you need to do that? It would also be possible (not as convenient though) to work with two SR, yours and the SR of the ES workplace. Of course it would require switching the SR settings in the tools every now and then…

      Hope my answer is valuable to you.

      Regards

      Matthias

      (0) 
  3. chandra shekar dasari
    Thannks for your inputs in the blog.I Have installed CE71 on my local pc.Configured all the steps as per your blog.

    In addition to this steps, in help they mention to COnfiguring SR to create following destinations for WSDL

    UDDI_DESTINATION
    CLASSIFICATION_DESTINATION.

    Are this must before running the steps you mentioned in your blog?

    Thanks in advance.

    Regards
    chandra dasari

    (0) 
    1. Matthias Steiner Post author
      Hi Chandra,

      you’re welcome!

      If I’m not mistaken the two destinations are created as part of teh CTC scripts. They should be there already -> please check the destinations within the SOA Management tab of NWA (NetWeaver Administrator).

      Hope this helps!

      Matthias

      (0) 
  4. J. Rheiter
    I followed the steps of your blog and also the configuration to publish a webservice with wspublish transaction in ECC.

    But we get an http 404 error. Saying

    http://hostname:50000/uddi/api/publish/

    doesn’t exist. If i put the adress in my browser i get the following message:

    404   Not Found
    SAP NetWeaver Application Server 7.11 / AS Java 7.11 

    Error: not found (API-URL)

    Could someone please help me out what the problem is? Right now we cannot publish a service to the Enterprise registry.

    (0) 
    1. Matthias Steiner Post author
      Sorry for the late reply, but I was out of office for some time. Were you able to resolve your problems in the meanwhile? If not, pelase get back to me so that we can have a closer look. From the information above it’s hard to say what could be root of your problem…
      (0) 
  5. Somnath Roy
    Thanks for starting this wonderful blog series. Just one query, the way to configure web services as external services in CAF seems to have changed significantly in CE 7.1.1 compared to even CE 7.1. Could you please throw some light on it?
    (0) 

Leave a Reply