Portlet Factory, Version 6.1.2
Schema builder
The Schema builder adds a property that contains a schema path to the model.
Use this builder when you have an existing schema file (.xsd) that you want to use in your Model. The Variable builder uses this property to populate the list of available data types when you add a Variable builder call to your model.
You can use the Schema builder to store XML objects of a particular type as variables in your model. You can use the structures stored in these type-specific variables to pass to service calls or store the results of a service call.
Quick tips
- Schemas rely on an Internet connection to resolve a SOAP Encoding URL
- If you are running IBM® WebSphere Portlet Factory disconnected from the Internet and are using schemas in your model (or any builders that add schemas to the model), set bowstreet.schema.noAddSchemImports to true in the WebSphere Portlet Factory WEB-INF/config/cluster.properties file.
Setting the property to true prompts the AutomationEngine not to resolve the SOAP encoding URL that it adds to all schemas in the model.
- Use a variable associated with a schema to store the inputs to a service call
- If there is a schema for the inputs to a service, add a Schema builder to the model that refers to this schema. You can then add a Variable builder call and set its type to be that of the inputs schema and pre-populate the variable value with a structure defined by the schema.
- Schemas are only imported at design time and during generation
- Schema paths are not evaluated during runtime, so you cannot, for example, dynamically store a path to a schema to be evaluated at run time.
Supported schema types
The Schema builder provides the ability for variables of that type to be added to the model. It also allows for type checking. Some of the features are as follows:
- Support for the following schema types:
- XML schemas (http://www.w3.org/2001/XMLSchema)
- XDR
- SOX
- DTDs
Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Schema refresh rules
As of version 5.7, IBM WebSphere Portlet Factory implements a global schema cache.
- Schema builder inputs
This topic describes the inputs for the Schema builder.
- Data Page builder
Use the Data Page builder to create forms that either display data, prompt the user to enter data, or are a combination of the two operations.
- Simple Schema Generator builder
Use the Simple Schema Generator builder to add a schema to the model based on an XML structure.
- Variable builder
Use a Variable builder call to store temporary or persistent data in a model.
Library | Support |