SQL Anywhere databases can act as web client applications to access web services hosted on a SQL Anywhere web server or 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 SQL Anywhere web service running on the same database.
For detailed examples of web service applications, see the %SQLANYSAMP17%\SQLAnywhere\HTTP directory.