Remote WebServices

In this article

    Remote web services may be used from S&M web client, Customer Service, Pocket CRM or your own custom application.

    Preparing IIS 2008 for NetServer

    1. Make sure ASP.Net support is installed in IIS. If not, go to the Control Panel -> Programs and click Turn Windows features on or off. Then go to the Role for IIS and install ASP.Net support using Add Role Services
    2. Also make sure you have installed IIS 6 Metabase Compatibility under IIS 6 Management Compatibility under Management Tools

     

    Run the CRM Web installer

    1. Run the installer by starting setup.exe
    2. Specify the CRM.web Application Title (you can leave it as default) and select the destination folder where you want to install NetServer
    3. Select to second setup type, where NetServer is installed on a separate computer (as we only want to install NetServer to get the Remote WebServices for either Sales & Marketing web,  Customer Service or Pocket CRM)
    4. In the next dialog, use the first choice for installing NetServer
    5. Select under which website or virtual directory you want to install NetServer. This could be anything of your choice, for example under the default website. You could either leave “SuperOffice” as new virtual directory name, or you could create your own. This will indicate the URL you will use in Sales & Marketing web,  Customer Service or Pocket CRM. to configure NetServer
    6. Click “Install” to begin the installation process
    7. Check “I would like to launch CRM.web Configuration” to start the NetServer configuration utility and click “Finish”.
    8. Click “Next” on the “Scripting” section.
    9. Read the “Welcome” section and click “Next
    10. On the “Database driver settings”, choose the database system for the database you installed on with server setup and click “Next”.
    11. In the “Database settings” fill in the fields to configure your connection to the database. Click the “Test connection” to be sure that the configuration is correct. When it works, click “Next”.
    12. In the “Document Settings” you need to enter the “Archive Path” to the folder you created in the server setup part. You also need a temporary path. You need to set a valid domain user in the "Impersonate user" if you want to get documents from the Archive. Click “Next”.
    13. Leave the “Security” section as is.
    14. In the Globalization section, choose your country in the “Application country code” if it exists. If not, choose English.
    15. Click “Next” on the following sections until you get to the “Finish” button. Click it to create the configuration file.
    16. Verify that NetServer is set up properly by entering the URL of the site and virtual directory created by the installer, followed by Person.svc (in this example it would be: http://localhost/SuperOffice/Person.svc). You should get a reply like: