The generated solution is based on the Microsoft Windows Communication Foundation (WCF). This allows the exposing of ispecs as WCF Services, and the integration of ispecs in a Services Oriented Architecture with client applications such as BizTalk, Console/Windows/WPF and IIS as Web Services.
The generator creates the necessary CTC Web Service Controller components and generates a Service Model for each each ispec. A Service Model contains the Meta data information required by the Adapter to expose an ispec as a WCF RESTful service.
Service Models and their Meta data are used by the Web Service Controller when processing a service request message and creating a response message.
CTC Web Service Controller
CTC Web Services Runtime Architecture - Overview
The CTC Web Service Controller manages all communication to the AB Suite back-end systems.
Request/Response Message Processing
When a service request message arrives from a client application, the Service Controller determines the Service Model the request is related to, de-serializes the message based on the Service Model and creates an Ispec Model including the data. The Ispec Model is sent to the AB Suite host system for processing. The data returned from the host system is serialized into a response message which is returned to the client application.
Errors occuring during the processing of the request/response message are returned to the client as a standard Error Response Message.
Host System Communication
The host system communication is customizable through an API provided by the Service Controller.
The customizable HostInterface class, which is hosting the Service Controller, can get control at key events during the processing of service operations and the communication with the AB Suite host system. The Service Controller raises events such as CustomConnect, PreTransaction, PostTransaction and StatusLine. This allows customizing the connection, denying transactions, post processing transactions and checking status information returned from the host system.
CE Session Management
The Service Controller uses the standard Unisys Component Enabler for all communication with the AB Suite host system.
For further details see the CTC Web Services Generator