Portlet Factory, Version 6.1.2


 

Choosing builders that create services

The builders described in this topic are used to create or connect to services.

Table 1. Builders to create or connect to services
Task Builder you should use
Get access to a data store. Use one of the following data integration builders:

Create a service with one or more operations. Use this service from another model using lightweight Java execution, or make it available to other applications via WSDL and SOAP. The Service Definition and Service Operation builder can be used. First define the overall service settings with Service Definition, then add one or more operations with Service Operation. Select Generate WSDL from the Service Definition builder to make the service available via WSDL.
Generate a service test harness for testing a service. Use the Service Definition builder to enable the Add Testing Support input in the Testing Support section. When you run the service model, you will get an index page with a link for each service operation. You can provide default values for service inputs by selecting Specify Default Inputs in the Testing Support section.
Create a stub service model, so you can create a presentation model using a service interface but without needing the actual back end implementation. Use the Service Definition builder, entering the desired name of the stub model in the “Stub Model” input, and then click the Generate Stub button.
Switch between service provider implementations without having to edit consumer models. For example, to automatically use a stub implementation of a service Use the Service Mapping Registry features of the Service Consumer builder. Service mapping is controlled with the XML files in the WEB-INF/config/service_mappings folder of a project. For more information, see: Service Mapping Registry.
Make a service available to other applications using WSDL and SOAP. Service Definition Enable the Generate WSDL input. To get the URL of the WSDL, enable the testing support and run the model. The test index page has a link to the WSDL URL.
Transform data between a schema used by your back end data and another schema. Use the Service Operation builder for simple mapping. For more complex XML manipulation, use Java code that manipulates IXml, accessing the Java code with the Linked Java Object builder.


Library | Support |