Dear Rick, as I said I am implementing REST service into my web application and I am following your tutorial Step by Step: Creating a JSON REST Service. I followed the New Process Wizard to create a new REST service and a new scriptmap .rs on the development machine. Please what about the server: do I have to create manually the new scriptmap on the server? Sincerely
Luca, From my own experience - the easiest way is to install WWC on the server same way as you do on development machine. I remember I tried to just copy the folder with executable and install VFP runtime (documentation mentions that screnario) but I wasn't able to make it work. Also setting up virtual directory manually isn't as simple as running Web Connection Setup.
Same thing with second development machine or upgrade - I always run WWC setup.exe
in this case Web Connection is yet installed on server.
I need only to create new scriptmap for REST service (for example ".rs").
You definitely don't want to run a full Web Connection install on the server as this installs samples and a bunch of other stuff you don't need.
If anything you can use the Console.exe to configure an applicaton on the server without doing a full install.
Use the Project Installation Scripts
If you're running a recent version of Web Connection (6.x and newer) a new project creates a configuration script that you can run on the server with:
Here's more info:
I would recommend this even for existing applications. You can create a script for a blank application or even just copy the script from the help file and then modify the script to match the configuration of your application by changing the base values at the top of the script.
These scripts make an application 100% portable and you can even test this offline on your own machine by installing into a different folder. It's a great way to ensure you have repeatable installs.