Portlet Factory, Version 6.1.2


 

Creating a service provider model

This topic describes the basic steps to creating a service provider model.

  1. Create a model that contains a Service Definition builder that defines and names a service.

    1. In the Service Definition builder, leave the Make Service Public input enabled (default).

      The service is available to all models in your application.

    2. Enable the Add Testing Support input in the Testing Support section.

      This facilitates testing of the service provider model.

  2. 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.

  3. Use a Service Operation builder to name this back end data access operation and add it to your service.

    1. In the Service Operation builder, select the operation created by the integration builder.

    2. Add additional operations to your service as required.

  4. Create a service consumer model that uses your new data service.

    1. 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.

Parent topic: Service Definition builder


Library | Support |