SOA Gateway Version 2010-05-31
 —  Administration  —

Using the SOA Gateway to access Microsoft SQL Server database

Using the SOA Gateway to access Microsoft SQL Server database


Introduction

Microsoft SQL Server is a relational database management system (RDBMS) produced by Microsoft. The SOA Gateway uses the ODBC interface to communicate to it.

This HOWTO assumes that the SOA Gateway and SQL Server database are both running on Windows.

It is assumed that the SQL Server has the ODBC Connector installed.

For the purpose of this HOWTO, we've installed the "AdventureWorks" sample that is provided with the SQL Server installation. See here for more information about AdventureWorks and other SQL Server sample databases.

Top of page

SQL Server ODBC Setup

This section describes how to set up a system DSN used by the SOA Gateway to connect to a SQL Server database.

To configure it, follow these steps

Top of page

SOA Gateway Configuration

The SOA Gateway must now be configured to access and use this new SQL Server DSN

Top of page

Accessing SQL Server using the SOA Gateway

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 the SOA Gateway. 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 soap ui is available here. The follow example is based on that tutorial, and shows how to access the Employees table we have just enabled.

Congratulations! You have now accessed an MS SQL Server table using the SOA Gateway!

Top of page