Show TOC

Procedure documentationPublishing Service Groups from the SAP NetWeaver Administrator Locate this document in the navigation structure

 

When you deploy Service Groups on your system, you can set some or all of these Service Groups to be published to the Services Registry (SR) so that other parties can discover them. You can also use published Service Groups to determine which Web services in the SR have consumers.

Prerequisites

Procedure

  1. Log on to the SAP NetWeaver Administrator.

  2. Choose   SOA Management   Application and Scenario Configuration   Publication Rules  

    Alternatively, you can use the quick link /publicationrules as follows:

    http://<host>:<port>/nwa/publicationrules

    The Publication Rules opens.

Creating a Publication Rule
  1. Choose New.

  2. Enter a name and description of the publication rule, and then choose Next.

  3. On the Consumer Side step, proceed as follows:

    • To publish all Service Groups that are deployed on the server, choose Mark all as publication relevant.

    • To publish an explicit Service Group, add a Service Group to the publication rule.

      The Adding and Removing Service Groups to a Publication Rule section below outlines the steps you have to complete to add a Service Group.

  4. Choose Finish.

  5. The system creates the publication rule with status Active.

    The Service Groups in the publication rule are published to the SR the next time the background job runs. The system publishes only Service Groups that were not previously published as part of another publication rule on the Services Registry.

Editing Publication Rules

You can edit active and inactive publication rules. When you edit publication rules, their status remains unaffected.

  1. Choose a publication rule from the table.

    The Details area opens and displays all Service Groups in the publication rule.

  2. Choose Edit, and on the Service Groups tab, proceed as follows:

    • To publish all Service Groups that are deployed on the server, choose Mark all as publication relevant.

      All Service Groups, whether they are added to a publication rule or not, are published to the SR.

    • To publish an explicit Service Group, add a Service Group to the publication rule.

      The Adding and Removing Service Groups to a Publication Rule section below outlines the steps you have to complete to add a Service Group.

  3. Save your changes.

Adding and Removing Service Groups to a Publication Rule
  • Add a Service Group

    1. Choose Add.

    2. On the Add Service Groups window that opens, search for the Service Groups that are deployed on the local client system:

      • Search for Service Groups by name (basic).

        1. Choose the Search tab, and then choose Basic.

          The basic search is enabled, if the Advanced switch is displayed on the Add Service Groups window.

        2. In the Find field, enter the Service Group name, and then choose Go.

          You can use an asterisk (*), or a question mark (?) as wildcards in the search string.

      • Search for Service Groups by name (advanced).

        1. Choose the Search tab, and then choose Advanced.

          The advanced search is enabled if the Basic switch is displayed on the Add Service Groups window.

        2. In the Find field, enter the Service Group name.

          You can use an asterisk (*), or a question mark (?) as wildcards in the search string.

        3. Choose a Service Group classification from the Select Classification dropdown menu.

        4. Choose a classification from the tables, and then add or remove it using the arrows.

        5. Choose Go.

      • Browse Service Groups.

        1. Choose the Browse tab.

        2. From the dropdown menu, select a Service Group classification.

    3. Select a Service Group from the result table and then choose OK.

  • Remove a Service Group

    1. To remove a Service Group from the publication rule, choose an entry from the Service Groups table.

    2. Choose Remove.

    3. To confirm, choose OK.

      To select multiple entries from the list, on your keyboard press and hold the SHIFT or CTRL keys and then choose the relevant Service Groups.

Activating and Deactivating Publication Rules

The table below outlines the effect of the possible changes you can make to the status of a publication rule.

User Action

System Response

To activate a publication rule, choose an entry from the table, and then choose Activate.

The system publishes the Service Groups listed in the publication rule. If a Service Group was previously published to the SR as part of another publication rule, the system does not publish it a second time.

To deactivate a publication rule, choose an entry from the table, and then choose Deactivate.

The system unpublishes the Service Groups listed in the publication rule. If a Service Group is listed in another publication rule, which is active, the system does not unpublish this Service Group.