Web services for Adaptive Server anywhere

Source: Internet
Author: User
Tags soap web services

Adaptive Server Anywhere integrates an HTTP server and a SOAP manager into the database server. It allows you to send a SOAP request over HTTP to Adaptive server anywhere, and then adaptive server anywhere returns the answer to the client requesting HTTP.

You can expose a stored procedure or query in a database to a Web service. As a simple example, the following statement creates a Web service that provides a list of system tables:

CREATE SERVICE mytables
TYPE ’XML’
AUTHORIZATION OFF
USER DBA
AS SELECT * FROM SYSTABLE

The result is a string containing an XML document in which each row in the result set is an element, and the value is displayed through the attributes in the element. After this very simple statement we have transparently addressed security, permissions, and format issues.

In addition to simple XML types like the one above, adaptive Server Anywhere offers several other types of services: The SOAP service returns the result set as a soap reply, and the dish service, which determines the SOAP processor, generates a wsdl;htm for each service in the group L returns an HTML document; RAW allows you to fully customize the output.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.