Portus Version 2012-12-17
 —  Administration  —

Using Portus to access the Sybase database

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


Introduction

The EAServer product set from Sybase includes Adaptive Server Anywhere. 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.

Go to here to download the Sybase EAServer Developer Edition which is used in this example.

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".

Top of page

ODBC Setup

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

graphics/sybase_1.png

Check that the login details are correct.

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

Select the Login tab:

graphics/sybase_2.png

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

Top of page

Portus Configuration

Portus must now be configured to access and use this DSN

Top of page

Accessing SQL Server 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.

Congratulations! You have now accessed a Sybase table using Portus!

Top of page