Show TOC

Procedure documentationConfiguring Web Services Exposed by Applications Locate this document in the navigation structure

 

You use consumer applications to consume Web services that are running on a provider system. However, some consumer applications may also expose Web services that are consumed by other applications.

When you administer consumer applications, you can configure at once the Web services that these applications expose. You configure the Web services by assigning communication profiles to them. The framework applies the policies in these profiles to the Web services and creates configuration entities called service endpoints.

Note Note

You cannot use the procedure described here for XI 3.0-compatible Web services.

End of the note.

Prerequisites

You have created communication profiles.

More information: Preparing Communication Profiles

Procedure

  1. Log on to SAP NetWeaver Administrator.

  2. Choose   SOA   Application and Scenario Communication   Application Communication  

    Alternatively, you can use the quick link /appcommunication by entering the following address in the browser: http://[host]:[port]/nwa/appcommunication

  3. Choose an application from the table.

    The table shows all applications deployed on your client system that either provide or consume Web services.

  4. Choose the Provided Services tab.

  5. Select a service from the table, choose Edit, and proceed as follows:

    Note Note

    To select multiple entries in the table, press and hold the SHIFT or CTRL keys and then choose the relevant service definitions.

    End of the note.
    • To assign a profile:

      1. Choose Assign Profile.

      2. Choose a profile from the table in the Assign Profile window.

        To find a profile by name, enter the name in the Value field and choose Go. You can use an asterisk (*) or a question mark (?) as wildcards in the search string.

    • To unassign a profile for the selected services, choose Unassign Profile.

  6. Choose Save.

Result

After you save the changes, the system performs a background process and applies the communication profile policies to the service definition. The framework creates configuration entities called service endpoints. You can review the details of the created service endpoints in the Single Service Administration application. For more information, see Configuring Individual Web Services.

When the service endpoints are available, you can configure the consumer proxies that consume the configured services.

Processing States

The system displays the current state of the assignment process in the Processing State column of the service definitions table. The following states are available:

to be processed

The assignment is pending for processing. This state might occur directly (for example, the profile has just been assigned to a service), or indirectly (for example, there is a newer version of the profile). If the previous state of the assignment was processed, there might be a period of time where the old configurations (endpoints) are still available; they should be removed or updated when the assignment is processed.

processed

The endpoints for the service are generated successfully.

failed

There was a failure during the creation of endpoints. Most likely the issue is that the service has been configured at design time using annotations, and the design-time requirements are not met by the communication profile. For example, the service is configured to require Basic authentication level, but the profile supports only None. Use the Show Log button to see the error details.

You can display more information about the processing state in the Log Viewer application. For more information, see Log Viewer.