Portus Version 2018-08-24
 

Using Portus to access Sybase databases

Using Portus to access the Sybase EAServer database Adaptive Server Anywhere.

Introduction

Sybase Adaptive Server Anywhere provides a full-featured SQL database for EAServer applications. It is designed to operate in environments with limited physical and database administration resources.

Adaptive Server Anywhere is a transaction-processing relational database management system (RDBMS) with full recovery capabilities, online backup, referential integrity actions, stored procedures, triggers, row-level concurrency control, and a rich SQL language.

Download the Sybase EAServer Developer Edition, which is used in this example, here.

This HOWTO assumes that the Portus and the Sybase database are both running on Windows.

For the purpose of this HOWTO, we will be using one of the sample databases provided by Sybase, "Jaguar SVU Sample".

ODBC Setup

By default, the Sybase installation sets the DSN information required for accessing the sample database:

Check that the login details are correct.

Select the Configure... button having first highlighted the sample database as shown above.

Select the Login tab:

If the User ID and Password is not set, set them to dba and sql respectively.

Portus Configuration

Portus must now be configured to access and use this DSN

Accessing Sybase using Portus

Now that the Web Services have been set up, you can access the Web Service Description Language ( WSDL ) by clicking in the WSDL URL link in the Control Centre.

This WSDL is the starting point to accessing the your tables and stored procedures using Portus. There are many clients available to consume and use web services, for example soapUI, XMLSpy, and InfoPath.

A tutorial on how to access Adabas data through soapUI is available here. The follow example is based on that tutorial, and shows how to access the allbooks table we have just enabled.


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