This sample attempts to provide sample code to use the HTTP server in Adaptive Server Anywhere. It assumes that the HTTP sample files were extracted/untarred in such a way they are located in the System/samples/asa/http folder within the installation directory.
To use this sample start the database with the EngineConsole Application. When prompted select the asademo.db in the System folder, select "Network Server Button", and on the options text box type "-xs http{port=8080}". This will launch the database server with the integrated HTTP Server.
Once you have started the database server, launch Interactive SQL from Finder and execute the following commmands:
If the sample prompts for authorization, enter "DBA" for the userid and "SQL" for the password.
Here are the Samples:Show Table - Lists tables and their contents from the database.
Show Groups - Lists groups that you have created and the contents of the groups which contain test that you can create.
Test Calendar Sample - Lists the calendar year and provides forms to navigate through the calendar.