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.


Library | Support |