Create a Web Service that will hold the Web Service Operations (subroutine calls and AQL statements).
To create the Web Service:
See Creating and managing web services for detailed information.