Portlet Factory, Version 6.1.2
Service Stub builder
The Service Stub builder creates a separate, self-contained model that implements a version of a selected service.
This model contains a public service whose operations have the same signatures as the those in the original service, but which all return constant, test data.
Generating a "stub" service provider model is useful when the original service accesses a backend system that is slow or is not always available. A stub model can also be used to run a demo on a disconnected laptop, or when trying to reproduce a problem.
The Service Stub builder is not limited to working with public services. You can also use this builder to create self-contained representations of data services created by such builders as SQL Call or SAP Function.
Note: The Service Stub builder can use information created by the Service Test builder to improve the generation of test data. If the Service Test builder is applied, the Service Stub builder can use the actual underlying service to generate real sample data; otherwise, the sample data is generated from the schema, and is not likely to look like real data.
Note: The functionality provided by the Service Stub builder is also available in the Service Definition builder. It may be more convenient to do stub generation there if you are building a public service.
Parent topic: Overview: working with data services Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Service Stub Builder Input
The Service Stub builder takes the inputs described in this table.
- Objects Created by The Service Stub Builder
This topic describes the builder calls that the Service Stub builder creates in the generated stub model.
- Using data services
IBM WebSphere Portlet Factory provides the services category of builders that you can use to create, test, use, and document data services.
- Overview: working with data services
IBM WebSphere Portlet Factory Service-Oriented Architecture (SOA) defines Service Provider Models that access backend data and services and Service Consumer or Presentation Models that provide the frontend web user interface.
Library | Support |