Ebase
Integration Server
Creating
an Integration Service
Integration Service Properties
Error handling and SOAP Faults
Publishing an Integration Service
Testing
an Integration Service
Getting Started with Integration Server
See Also:
Working with Integration Scripts
Working with Integration
Resources
Integration
Server Error Handling
Creating
Integration Resource from Service
Ebase Integration Server is a module that provides the ability to publish
an Ebase Integration Service as a Web Service. This allows remote Web Service
client applications to execute an Ebase Integration Service via a web service
call. The Integration Service provides the ability to receive data, process an
Integration Service and return a response using SOAP messaging. Both SOAP 1.1
and SOAP 1.2 are supported.
An Ebase Web Service provides a published WSDL definition of the
Integration Service. This represents a definition of an
integration Web Service to allow any remote application to configure
their Web Service client.
An Integration Service is very similar to a standard Ebase form except
that it contains no pages. An Integration Service supports one main event - an Integration Event - that is processed
immediately when the Service is invoked. An On
Error Event can also be configured to execute when an error occurs. An
Integration Service has no user and runs in the background.
The Integration Server only supports request/response SOAP messaging.
The style of the Web Service definition is document literal.
−
Integration Service - An Integration
Service is similar to an Ebase form with no user interactivity. An Integration
Service must contain at least one Integration Resource to qualify as a valid
Integration Service.
−
Integration Web Service - A Web Service is a
published Integration Service containing at least one Integration Resource.
Each Web Service is mapped to a single Integration Service.
−
Integration Resource - An Integration
Resource is an extension to the XML resource that contains at least one
integration adapter. It must contain at least one integration adapter to
qualify as an Integration Resource.
−
Integration Script - An integration
script is an Ebase server side script that
can only be processed from an Integration Service.
The Web Services Integration Server is a servlet that accepts SOAP
requests via HTTP. The SOAP Body populates the Integration Service fields and processes
the integration event associated with the requested Web Service operation. Upon processing completion of the integration
event a response SOAP message is returned to the calling client based on the
response configured for the operation. Fields and Tables are added to an
Integration Service in the same way as with an Ebase form. See understanding Ebase integration
for more details about standard Ebase Forms.
Each Integration Service
can be created to publish one or more operations. Only one Integration Service
can be configured for each Web Service definition (WSDL). For more information
see the Web Services section.
An Integration Service is a
basic Ebase Form without some features that a standard Ebase form contains.
The Integration Service
contains:
An Integration Service does
not have any user interaction and is run as a background process. Information
comes into the service via the Integration Resource associated with the
Integration Service. The incoming message (request) populates the fields, and
tables are populated by calling the fetchtable FPL command or the API Table.fetchtable()
method. The outgoing message (response) populates automatically after the
integration script associated with the Integration Service completes execution.
Outgoing message tables must be updated using the updatetable FPL command or the API Table.updatetable() method
at the end of the integration script.
An Integration Service must
contain one or more Integration Resources. Each Integration Resource associated
to an Integration Service publishes one or more Web Service operations. An
Integration Resource must contain one or more integration adapters. Each
adapter represents one Web Service operation published by the Integration Web
Service. See Working with
Integration Resources for more information. Ebase recommends creating one
Integration Resource per operation when designing Integration Services.
An Integration Service can
be created by selecting File -> New
-> Integration -> Integration Service, and edited by selecting the
service you wish to edit under Integration
Server -> Services.
This presents the
Integration Service Editor panel which is very similar to the Form Editor, with the following differences:
General Tab
Events Tab
SOAP faults are generated automatically by the system when
an Integration Service fails. Either a SOAP 1.1 or SOAP 1.2 fault is generated,
depending on the protocol used by the client.
See Integration Server Error Handling for
additional information regarding Integration Server error handling.
Once created, an Integration Service is published using the Web Services Panel.
An Integration Service is tested from the Web Services panel. First create a Web
Service associated with the Integration Service, then
click the Test Web Service button.
When changes have been made to an Integration Service, the corresponding Web
Service should be redeployed.
This section gives a brief outline of the steps to create an Ebase Integration
Service. It is recommended to start the process from the Integration Service
and create the Integration Resource from the service as described here,
although this is not essential. (It is also possible to create an integration
resource independently and then import the fields and tables into an
integration service).