cancel
Showing results for 
Search instead for 
Did you mean: 

Service Registry documentation URL and deleting published services?

Former Member
0 Kudos

Hello,

We are using SAP NetWeaver PI 7.1 SP 7. Do anyone know how you can control the published Documentation URL for published Service Interfaces in the Service Registry when you publish service interfaces directly from the ESR (from the WSDL tab on a Service Interface)?

Do anyone know if you can delete published service interfaces in the Service Registry if a service interface have been deactivated/deleted/is not used any more?

Regards,

Markus Johansson

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

To check the published service in the Services Registry,

1. Log on to the Services Registry URL: [http://<host name>:<port>/sr] with your user ID and password.

2. Enter the service name in the search area, select the service provider system, and then click on the Go button.

From there you can perform the operations like Maintain (Create, Change, Delete, Permissions); Classify Service Definitions, Discover (Search, Browsevia classification) and Publish Services.

According to blog

[/docs/DOC-8782#section172 [original link is broken]]

To ensure consistency, you should not manually delete service definitions from the registry, but instead it is recommended to use the publication rules functionality of SAP NetWeaver Administrator (Java) and SOA Manager (ABAP) to u2018unpublish' service definitions that are no longer required.

However, if you still need to delete service definitions, you can make use of the corresponding API and manually remove service definitions.

Regards,

Jitender

Former Member
0 Kudos

Hello Jitender,

Thanks for your input. Unfortunately we do not have access to the operations like Maintain (Create, Change, Delete, Permissions) following your instructions (we do not use EhP1). This means that we can not change e.g. the documentation URL. Do you know from where in the ESR this information is copied when you publish a service interface directly from the ESR, is it configurable (we always get the same link/URL as to the WSDL definitioon)?

We know that this has probably been solved in EhP1 but we are trying to find a solution for SAP NetWeaver PI 7.1 right now.

As we publish service interfaces /("WSDL/XSD schemas") without a back end implementation (we are looking at the ESR/service registry purely from a design time/metadata perspective right now) we have not found any functionality in the ESR or manually in the Service Registry to "unpublish" Service Interfaces (accept from reclassifying the Service). It could be that the API is the only option in the 7.1 release?

Regards,

Markus Johansson

Former Member
0 Kudos

Hi Markus,

There is anothre approach to delete services using API's.

Determine the WSDL Url of your Services Registry.

- Open SAP NetWeaver Administrator and choose SOA Management Application and Scenario Communication Single Service Administration .

- Search for ServicesRegistrySi and copy the Services Registry WSDL.

Open WS Navigator.

- In the WSDL Url field, enter the Services Registry WSDL and choose Next.

- All Services Registry API operations are displayed.

- Select operation hideServiceDefinitions and choose Next.

- Enter either the UDDI key or the logical key of the service definition you want to delete and choose Execute.

Both keys are displayed on the General tab in the Services Registry.

In case SR shows you as having no logical key for the service you are interested in removing.

There is another operation, findServiceDefintions, that can be used to search a name that will return the UDDI key. Take that value and plug it into the hideServiceDefintions uddiKey value.

Regards,

Jitender

Former Member
0 Kudos

Hello Jitender,

Thanks, this worked fine to delete/hide Services in the Service Registry for now.

Do you know if any opartion can be used to update the Documentation URL?

Regards,

Markus

anand_solanki
Explorer
0 Kudos

Hello Jitendra,

Did you find solution for updating the documentation URL, even i am having the same problem.

Former Member
0 Kudos

Hello Anand,

I used the ServicesRegistrySi API which Jitender described above and used e.g. SOAP Sonar to first call the service "GetServiceDefinition" and then use this information to call the "PublishServiceDefinition"servce but with your new Documenmentation URL (need to copy all other attributes wchich what to keep.

I hope this can help.

Regards,

Markus

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

detail guide for ur requirement

[http://help.sap.com/saphelp_nw70/helpdata/EN/43/fcc7c06bfb025ee10000000a1553f7/frameset.htm]

JoelTrinidade
Active Contributor
0 Kudos

Hi Markus,

Service Registry configuration

Note 1267817 - Configure Services Registry proxy (ServicesRegistrySi) for this configuration

Configuring the Services Registry

http://help.sap.com/saphelp_nwpi71/helpdata/en/46/94dd02c7b915ebe10000000a114a6b/frameset.htm

Regards

joel

Former Member
0 Kudos

Hello Joel,

We had already done the configuration but we still do not find the functionlaity we are looking for.

Regards,

Markus

former_member732072
Active Participant
0 Kudos

Hi Markus,

Please have a look at the following link and see if it helps.

http://help.sap.com/saphelp_nwpi71/helpdata/en/46/7ffe4b393650d1e10000000a155369/content.htm

Best Regards.

Former Member
0 Kudos

Hello Prakash,

Thanks for the input. This only works if you do have the service end point implemented. We want to publish the Service Interface Definition/Schema only, there is no implementation at this point.

Regards,

Markus