Portlet Factory, Version 6.1.2
Building a service-oriented application
Building a service-oriented application involves creating a service provider model and a service consumer model.
- Create a service provider model that includes the following builders.
- An integration builder (for example, SAP Function Call or SQL Call) or method that provides data access.
- A Service Definition builder that creates underlying support for the service and names the service.
- A single Service Operation builder or multiple Service Operation builders that invoke the data access support available in the model.
- Test the service operation.
- Add a Service Test builder to the Service Provider model
- Enable the Add Testing Support input in the Service Definition builder.
- Create a service consumer model that includes the following builders.
- Service Consumer builder that invokes service operations made available by a Service Provider model.
- Various Page builders (for example, View & Form) to format and display data.
- Optional: Generate a stub service model in the Service Provider model by adding a Service Stub builder.
- Optional: Generate service documentation in either or both models by adding Service Documentation builders to the models.
- Optional: Use the Service Mapping Registry to use the stub service model or to switch between service implementations.
To do so, set service mappings in XML files located in WEB-INF/config/service_mappings.
Parent topic: Using data services
Library | Support |