Portlet Factory, Version 6.1.2
Service Consumer builder
This builder is deprecated.
Note: Deprecated builders do not appear in the builder picker and cannot be used for new development. Please use the updated Service Consumer builder (available in the builder picker) to replace this builder.
This builder works in conjunction with the Service Provider builder (also deprecated), and is used to provide access to services exposed by the Service Provider builder. Use the Service Consumer builder when you want to access a service created in a service provider model. This builder interrogates a specified Service Provider model and generates the code required to invoke the exposed methods in that model.
This builder generates the code required to support the following two operating modes:
- Add Single Method
- In this mode you can select an individual method that was made available in a service provider target model. To invoke the service from your consumer model you use the executebuildername or executebuildernameWithArgs generated method.
- Add All Methods
- In this mode you make available all the exposed methods in the Service Provider target model. You can call any of these exposed methods from the consumer model. To invoke the service from your consumer model you will use the executetarget_method_name or executetarget_method_nameWithArgs generated method.
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Service Consumer builder inputs
This topic describes the inputs for the Service Consumer builder.
- Objects Created by This Builder
A variety of WebApp artifacts are created by this builder. These artifacts include the following LJOs, variables, methods and data services.
- Exposing a method and using it in a service consumer
Follow these steps to expose a method and use it in a service consumer.
- Service Definition builder
Use the Service Definition builder and the Service Operation builder to create a IBM® WebSphere Portlet Factory data service.
Library | Support |