Database Procedure Web Service Exposure via Metadata Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database procedures are not universally accessible over public networks due to the use of proprietary protocols in existing access APIs, limiting their exposure and invocation as web services.

Innovation Solution

Automatically constructing a Web service definition using metadata from database procedures, converting SQL data types to XML data types, and generating SOAP messages to invoke procedures stored in a database as web services, allowing universal accessibility and invocation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If access APIs are used to invoke stored procedures, then database procedures can be accessed by database clients, but the stored procedures are not universally accessible over public networks due to proprietary protocols

Engineering Contradiction:
Improveaccessibility of stored proceduresVSAvoidprotocol complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces a web service layer as an intermediary between database clients and stored procedures. This intermediary converts proprietary database protocols into standard web service protocols (HTTP, XML, SOAP), enabling universal accessibility while maintaining database procedure functionality. The web service acts as a mediator that translates between different communication standards.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the communication parameters from proprietary binary protocols to standard web service parameters (HTTP methods, XML data formats, SOAP envelopes). This parameter transformation enables stored procedures to be accessed through universal web service interfaces rather than being locked to specific database client protocols.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If stored procedures are exposed as web services, then universal accessibility is achieved, but automatic construction of web service definitions requires metadata retrieval and conversion

Engineering Contradiction:
Improveease of accessing stored proceduresVSAvoidweb service definition construction
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system performs self-service by automatically retrieving metadata about stored procedures from the database and generating web service definitions without requiring manual intervention. The database system itself provides the information needed to construct web service interfaces, eliminating the need for developers to manually create WSDL files or configuration documents.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent performs preliminary action by pre-retrieving and storing metadata about stored procedures (parameter types, data formats, return values) in a structured format that can be directly used to generate web service definitions. This preliminary preparation eliminates the need for real-time metadata extraction during web service construction.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If SQL data types are converted to XML data types, then web service compatibility is improved, but data type conversion complexity increases

Engineering Contradiction:
Improvecompatibility with web servicesVSAvoiddata type conversion
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent systematically changes data type parameters from SQL-specific types (VARCHAR, NUMBER, DATE, BOOLEAN) to standard XML data types (xsd:string, xsd:integer, xsd:dateTime, xsd:boolean). This parameter transformation enables direct compatibility with XML-based web services while maintaining the semantic meaning of the data.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent creates universality by establishing a mapping between SQL data types and XML data types that works across different database systems and web service implementations. The conversion mechanism is designed to be multi-functional, handling various data types through a unified approach that maintains compatibility across different platforms.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS9760647B2Techniques for automatically exposing, as web services, procedures and functions stored in a database
Publication Date: 2017.09.12 ORACLE INT CORP
  • US9760647B2 patent drawing
  • US9760647B2 patent drawing
  • US9760647B2 patent drawing

AI summary

A database server that manages a database retrieves metadata that is stored, within the database, in association with a procedure that is stored in the database. Based on the metadata, a Web service definition is automatically constructed to describe the procedure as a Web service. The WSDL definition can be referenced to construct SOAP messages with the appropriate arguments and in the appropriate format which, when received, are converted to a suitable format for invoking execution of the procedure by the database server.