
Questions Answered
How are external services integrated in your composite application?
How can I use Service Composer to adapt existing services?
What steps must I carry out to join external services using Service Composer?
Introduction
The interfaces of enterprise services can be very complex. However, consumers of composite applications require a particular business functionality and focus on the data that they need. With Service Composer you can customize complex service interfaces and create new, simplified service interfaces with low complexity that are tailored to the needs of your composite application.
In addition to simplifying service interfaces, you can benefit from using the Service Composer tools' capabilities to compose enterprise services. Within the Service Composer you can directly search for back-end services in a repository, or simply browse to locally stored service interfaces. You integrate all the services or service operations that you need to call within a single service interface. Then you define the order in which you want these services to be called at runtime.
You can also apply modifications over the output result using the Data Mapping capabilities within the Service Composer.
You can import service interfaces from different sources:
Services Registry
You import the WSDL document of a Web service published in the Service Registry.
Enterprise Services Repository (ESR)
You import the WSDL document for a Service Interface modeled in the ESR.
File system or a remote location such as a URL
Activities
Set up a Service Composer development component
Depending on the approach you use (top-down or bottom-up), you have the option of creating the Service Composer development component as part of a product or explicitly creating a separate Service Composer project.
Create a new product in the Composite Designer.
More information: Creating Composite Applications .
or
Create a Service Composer development component.
Establish a connection from the Developer Studio to the Services Registry.
To import external service definitions published in a Services Repository, you must first configure the connection to the Services Registry using the preference settings in the Developer Studio.
More information: Connecting the SAP NetWeaver Developer Studio to the Services Registry .
Import the original service into the project.
To simplify or compose a service interface (from the Service Registry or other source), you must first import the original enterprise service interface definition into the Developer Studio.
More information: Importing Web Services .
Create a new simplified or composed service
You can take advantage of the modeling capabilities in the Composite Designer. To create a new development object (a simplified or composed service), select it from the Composite Designer palette and drag and then drop it on the corresponding layer of your product (the business logic layer).
Alternatively, you can create a new simplified service in your Service Composer project.
Create a new simplified or composed service in the Composite Designer.
More information: Creating New Development Objects
or
Create simplified or composed service in the Service Composer perspective.
More information: Simplifying Services or Composing Services .