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


Library | Support |