Web services are defined in a server module, and published when the server module is compiled.
Your first step in completing these tutorials is to create a server module for the xContacts table. Make the name of the server module TutorialPublish.
Use File -> New -> Server Module to create the new server module. Specify xContacts as the table. If you need more information, see Create Server Modules in the Visual LANSA User guide.
Then copy and paste the Source Code for TutorialPublish into the server module.