Creating a service provider modelAdded by IBM on June 28, 2011 | Version 1 (Original)
|You can use the Service Definition and Service Operation builders to create a service provider model.
You can use the Service Definition and Service Operation builders to create a service provider model.
- Create a model that contains a Service Definition builder that defines and names a service.
- In the Service Definition builder, leave the Make Service Public input enabled (default).
The service is available to all models in your application.
- Enable the Add Testing Support input in the Testing Support section.
This facilitates testing of the service provider model.
- Use an integration builder (for example, a SAP Function Call, SQL Call, or Web Service Call builder) to create a back-end, data access operation.
- Use a Service Operation builder to name this back-end data access operation and add it to your service.
- In the Service Operation builder, select the operation created by the integration builder.
- Add additional operations to your service as required.
- Create a service consumer model that uses your new data service.
- In the service consumer model, place a Service Consumer builder and select the service provider model previously created.
If you selected Add Testing Support
in the Service Definition builder, you can test your service in the service provider model by simply running the model.
About building a service layer
Multiple builders can be used to create a service layer.
The data service models
To implement an SOA application, create models that are either Service Providers (back-end data access) or Service Consumers (front-end presentation) and then combine them (flexibly) both for application testing and for publishing.
Parent topic: Building a service-oriented application