Built-in Services for Creating Document Types, Flows and IDL Files

The following built-in services are available in the WmEntireX package. They can be used to create document types, flows and IDL files from EntireX Adapter objects and/or IDL files. Parameters are either input or output (I/O).

colspec4;
Service Parameter I/O Description
pub.wmentirex.listener:createDocumentTypes
   This service creates document type objects, using the metadata stored in the listener, connection or adapter service object. Only objects created by the EntireX Adapter are supported. You can also use a Software AG IDL file as input.

A document type named <programname>Request is created for the input parameters of each program.
A document type named <programname>Response is created for the output parameters of each program.

input I Name of a listener, adapter service, connection, or pathname of an IDL file.
packageName I Name of the package where the created document types will be stored.
namespace I Namespace of the folder where the created document types will be stored.
mapToString I Defines how IDL data types are mapped to Integration Server data types. See Mapping IDL Data Types to IS Data Types in the Integration Server Wrapper documentation. Only used when a connection or IDL file is used as input.
result O Either a success message if the creation was successful (which includes the number of created document types), or an error message.
pub.wmentirex.listener:createFlow
   This service creates flow objects for the specified EntireX Adapter listener object.

For each service name specified in the definition of an EntireX Listener, an empty flow service with the appropriate input and output signature is created if this service does not exist. If the service exists it will remain unchanged.

listener I Name of the listener.
packageName I Name of the package where the created flow(s) will be stored. If this parameter is not specified, the flow(s) will be stored in the package of the listener.
result O Either a success message if the creation was successful (which includes the number of created flow objects), or an error message.
pub.wmentirex.listener:createIDL
   This service creates an IDL file, using the metadata which is stored in the listener, connection or adapter service object. Only objects created by the EntireX Adapter are supported.
input I Name of a listener, connection or adapter service.
filename I The name of the IDL file (with extension ".idl"). You cannot specify a folder name. The file is created in the folder <IntegrationServer_instance>/packages/WmEntireX/resources.
result O Either a success message if the creation was successful (which includes the full pathname of the IDL file), or an error message.