Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Programming » HTTP web services » Access to web services using web clients


Web client application development

SQL Anywhere databases can act as web client applications to access SQL Anywhere hosted web services or web services hosted on third party web servers. SQL Anywhere web client applications are created by writing stored procedures and functions using configuration clauses, such as the URL clause that specifies the web service target endpoint. Web client procedures do not have a body, but in every other way are used as any other stored procedure. When called, a web client procedure makes an outbound HTTP or SOAP request. A web client procedure is restricted from making an outbound HTTP request to itself; it cannot call a localhost SQL Anywhere web service running on the same database.

For detailed examples of web service applications, see the %SQLANYSAMP16%\SQLAnywhere\HTTP directory.

 See also

Web client function and procedure requirements and recommendations
Variables supplied to web services
Variables accessed from result sets
Substitution parameters used for clause values