# US 2008/0313660 A1 · Apparatus, system, and method for soap access to data source procedures

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0313660 A1
- Document ID: US20080313660A1
- Status: Published application
- Kind: A1
- Application number: 11/762,682
- Filed: 2007-06-13
- Published: 2008-12-18
- Earliest claimed: 2007-06-13
- Assignees: International Business Machines Corporation
- Inventors: Amir Malik; Hardeep Singh
- Web page: https://patentgrep.com/patent/US20080313660A1

## CPC

- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/133: Protocols for remote procedure calls [RPC]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An apparatus, system, and method are disclosed for web service access to a remote data source procedure. The method includes receiving a web service request from a client and identifying the procedure call identifier within the web service request. The web service request includes a procedure call identifier and zero or more parameters. The method includes creating a procedure call to a data source procedure accessible through an Application Program Interface. The procedure call is created at least in part by ordering parameters of the procedure call based on an order of the zero or more parameters in the web service request. The parameters of the procedure call are ordered without using an explicit parameter mapping. The method includes sending a web service response to the client in response to receiving a response from the data source procedure. The web service response includes information responsive to the procedure call.

## Claims

### Claim 1

A computer program product comprising a computer readable medium having computer usable program code executable to perform operations for web service access to a remote data source procedure, the operations of the computer program product comprising:
receiving a web service request from a client, the web service request comprising a procedure call identifier and zero or more parameters;
identifying the procedure call identifier within the web service request;
creating a procedure call to a data source procedure accessible by way of an Application Program Interface (“API”), the data source procedure identified by the procedure call identifier without an explicit procedure call identifier mapping, the procedure call created at least in part by ordering parameters of the procedure call based on an order of the zero or more parameters in the web service request, the parameters of the procedure call ordered without using an explicit parameter mapping; and
sending a web service response to the client in response to receiving a response from the data source procedure, the web service response comprising information responsive to the procedure call.

### Claim 2 (depends on 1)

The computer program product of claim 1, further comprising confirming that the data source procedure associated with the procedure call identifier is supported by a coupled data source server.

### Claim 3 (depends on 1)

The computer program product of claim 1, further comprising verifying that the type of data for the zero or more parameters of the web service request matches zero or more parameters of the data source procedure.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the web service request comprises a Simple Object Access Protocol (“SOAP”) request.

### Claim 5 (depends on 4)

The computer program product of claim 4, wherein the SOAP request is coded using an extended markup language (“XML”) and a Hyper Text Transfer Protocol (“HTTP”).

### Claim 6 (depends on 1)

The computer program product of claim 1, wherein the procedure call comprises a database call and the data source procedure comprises a database stored procedure managed by a database server.

### Claim 7 (depends on 6)

The computer program product of claim 6, further comprising identifying a database type from the web service request and selecting a servlet, the servlet capable of creating a procedure call compatible with the database type, and creating a web service response based on a response from a database server of the database type.

### Claim 8 (depends on 6)

The computer program product of claim 6, wherein the database call comprises a native call to a database server, the native call compatible with a client interface supported by the database server.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the client interface comprises one of Java Database Connectivity (“JDBC”), Object Linking and Embedding Database (“OLE DB”), Open Database Connectivity (“ODBC”), and Call Level Interface (“CLI”).

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the database server comprises one of DB2, Oracle, MySQL, and Sybase.

### Claim 11 (depends on 1)

The computer program product of claim 1, wherein ordering the zero or more parameters of the procedure call without using an explicit parameter mapping further comprises ordering the zero or more parameters of the procedure call without referencing an explicit mapping defined for an application server receiving the web service request.

### Claim 12 (depends on 1)

The computer program product of claim 1, wherein the web service request comprises one of an XML Remote Procedure Call (“XML-RPC”) request and a Representational State Transfer (“REST”) request.

### Claim 13

An apparatus for web service access to a remote data source procedure, the apparatus comprising:
a receive module configured to receive a web service request from a client, the web service request comprising a procedure call identifier and zero or more parameters;
an identification module configured to identify the procedure call identifier within the web service request;
a call module configured to create a procedure call to a data source procedure by way of an Application Program Interface (“API”), the data source procedure identified by the procedure call identifier without an explicit procedure call identifier mapping, the procedure call created at least in part by ordering parameters of the procedure call based on an order of the zero or more parameters in the web service request, the parameters of the procedure call ordered without using an explicit parameter mapping; and
a response module configured to send a web service response to the client in response to receiving a response from the data source procedure, the web service response comprising information responsive to the procedure call.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the identification module further comprises confirming that the data source procedure associated with the procedure call identifier is supported by a coupled data source server.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein the identification module further comprises verifying that the type of data for the zero or more parameters of the web service request matches zero or more parameters of the data source procedure.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein the web service request comprises a Simple Object Access Protocol (“SOAP”) request.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the SOAP request is coded using an extended markup language (“XML”) and a Hyper Text Transfer Protocol (“HTTP”).

### Claim 18 (depends on 13)

The apparatus of claim 13, wherein the procedure call comprises a database call and the data source procedure comprises a database stored procedure.

### Claim 19 (depends on 18)

The apparatus of claim 18, further comprising a database selection module configured to identify a database type from the web service request and selecting a servlet, the servlet capable of creating a procedure call and compatible with the database type and creating a web service response based on a response from a database server of the database type.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein the database call comprises a call to a database server.

### Claim 21 (depends on 20)

The apparatus of claim 20, wherein the database server comprises one of DB2, Oracle, MySQL, and Sybase.

### Claim 22 (depends on 13)

The apparatus of claim 13, wherein the call module orders the zero or more parameters of the procedure call without referencing an explicit mapping defined for an application server receiving the web service request.

### Claim 23 (depends on 13)

The apparatus of claim 13, wherein the web service request comprises one of an XML Remote Procedure Call (“XML-RPC”) request and a Representational State Transfer (“REST”) request.

### Claim 24

A system for web service access to a remote data source procedure, the system comprising:
a data source;
a web server comprising at least one processor and a memory, the web server in communication with the data source and a client, the web server comprising a data source server configured with
a receive module configured to receive a web service request from the client, the web service request comprising a procedure call identifier and zero or more parameters;
an identification module configured to identify the procedure call identifier within the web service request;
a call module configured to create a procedure call to a data source procedure of the data source by way of an Application Program Interface (“API”), the data source procedure identified by the procedure call identifier without an explicit procedure call identifier mapping, the procedure call created at least in part by ordering parameters of the procedure call based on an order of the zero or more parameters in the web service request, the parameters of the procedure call ordered without using an explicit parameter mapping; and
a response module configured to send a web service response to the client in response to receiving a response from the data source, the web service response comprising information responsive to the procedure call.

### Claim 25 (depends on 24)

The system of claim 24, wherein the data source server comprises a database server and the data source comprises a database.

### Claim 26 (depends on 25)

The system of claim 25, wherein the database server comprises one of a DB2 server, an Oracle server, a MySQL server, and a Sybase server and the database comprises a format compatible with the database server.

### Claim 27

A method for making a computer implemented process to enable web service access to a remote data source procedure, the method comprising:
instantiating first computer instructions onto a computer readable medium, the first instructions configured to receive a web service request from a client, the web service request comprising a procedure call identifier and zero or more parameters;
instantiating second computer instructions onto a computer readable medium, the second instructions configured to identify the procedure call identifier within the web service request;
instantiating third computer instructions onto a computer readable medium, the third instructions configured to create a procedure call to a data source procedure accessible by way of an Application Program Interface (“API”), the data source procedure identified by the procedure call identifier without an explicit procedure call identifier mapping, the procedure call created at least in part by ordering parameters of the procedure call based on an order of the zero or more parameters in the web service request, the parameters of the procedure call ordered without using an explicit parameter mapping; and
instantiating fourth computer instructions onto a computer readable medium, the fourth instructions configured to send a web service response to the client in response to receiving a response from the data source procedure, the web service response comprising information responsive to the procedure call.

### Claim 28 (depends on 27)

The method of claim 27, further comprising confirming that the data source procedure associated with the procedure call identifier is supported by a coupled data source server.

### Claim 29 (depends on 27)

The method of claim 27, further comprising verifying that the type of data for the zero or more parameters of the web service request matches zero or more parameters of the data source procedure.

### Claim 30 (depends on 27)

The method of claim 27, wherein the web service request comprises a Simple Object Access Protocol (“SOAP”) request.

### Claim 31 (depends on 30)

The method of claim 30, wherein the SOAP request is coded using an extended markup language (“XML”) and a Hyper Text Transfer Protocol (“HTTP”).

### Claim 32 (depends on 27)

The method of claim 27, wherein the procedure call comprises a database call and the data source procedure comprises a database stored procedure.

### Claim 33 (depends on 32)

The method of claim 32, further comprising instantiating fifth computer instructions onto a computer readable medium, the fifth instructions configured to identify a database type from the web service request and to select a servlet, the servlet capable of creating a procedure call and compatible with the database type, and to create a web service response based on a response from a database server of the database type.

### Claim 34

A method for deploying a web access computer program for web service access to a remote data source procedure, the method comprising:
determining customer requirements for data source access via a web server; and
deploying a web access computer program, the web access computer program comprising
receiving a web service request from a client, the web service request comprising a procedure call identifier and zero or more parameters;
identifying the procedure call identifier within the web service request;
creating a procedure call to a data source procedure accessible by way of an Application Program Interface (“API”), the data source procedure identified by the procedure call identifier without an explicit procedure call identifier mapping, the procedure call created at least in part by ordering parameters of the procedure call based on an order of the zero or more parameters in the web service request, the parameters of the procedure call ordered without using an explicit parameter mapping; and
sending a web service response to the client in response to receiving a response from the data source procedure, the web service response comprising information responsive to the procedure call.
