Portus Version 2018-08-24
 

WebService Creation

Service definitions, and related mapping files (DataViews, XSDs) are created, in a semi-automatic to automatic process (also known as Service Discovery), from meta-data describing the characteristics of resources to be exposed as a Service through Portus, for example from an Adabas FDT, SQL Table description, Natural sources or even other Web Services.

Initiating Service creation

The Service creation process can be started by selecting the appropriate driver, right-clicking and selecting either Discover Service(s) or Add Service:

Discover Service(s) will start the discovery wizard and request the specific parameters required for the selected driver type.

Add Service will ask you to name the service and you can then manually set the various parameters as per your particular system.

It may be required to provide login credentials, for example when accessing a SQL database system, this can be done from the server's context menu as well:

Specify the credentials - User ID and Password - in the SOAP Security section, click Set

Status and error information can be retrieved later on from the Portus Action Log

Creating Service(s) from Adabas

Assigning a different DataView to existing service

Sometimes it is required to create a web service using the Discovery Wizard, and then assign a different DataView to this service. For example, an Adabas web service discovered with "short names" in the DataView, and a pre-created DataView with "long names" available.

Assumptions:

If the above assumptions are OK, follow these steps:

  1. Drag the DataView and XSD (if available) files from the Navigator View.

  2. Drop the files onto the service you wish to modify

    A new (Business)DataView can be assigned by dragging it from the respective Views section and drop it onto the service.

  3. Right-click the service and select the Refresh function
  4. The WSDL should now reflect the DataView. changes

Creating Service(s) from SQL databases

Creating Service(s) from Stored Procedures

Creating Service(s) from a SYSOBJH extract file

Creating Service(s) from Natural

Creating Service(s) from 3rd party web services


Ostia
www.ostiasolutions.com
Copyright @ 2006-2018 Ostia Software Solutions Limited.