Portlet Factory, Version 6.1.2


 

Building a service-oriented application

Building a service-oriented application involves creating a service provider model and a service consumer model.

  1. Create a service provider model that includes the following builders.

    • An integration builder (for example, SAP Function Call or SQL Call) or method that provides data access.

    • A Service Definition builder that creates underlying support for the service and names the service.

    • A single Service Operation builder or multiple Service Operation builders that invoke the data access support available in the model.

  2. Test the service operation.

    • Add a Service Test builder to the Service Provider model

    • Enable the Add Testing Support input in the Service Definition builder.

  3. Create a service consumer model that includes the following builders.

    • Service Consumer builder that invokes service operations made available by a Service Provider model.

    • Various Page builders (for example, View & Form) to format and display data.

  4. Optional: Generate a stub service model in the Service Provider model by adding a Service Stub builder.

  5. Optional: Generate service documentation in either or both models by adding Service Documentation builders to the models.

  6. Optional: Use the Service Mapping Registry to use the stub service model or to switch between service implementations.

    To do so, set service mappings in XML files located in WEB-INF/config/service_mappings.

Parent topic: Using data services


Library | Support |