Responder Mobile Configuration Guide
Configure MobileServices Web Service

Resource Center Home

The MobileServices web service manages synchronization between the field machine and the SQL Server Express database. Perform the following steps to configure this web service.

The Responder Mobile Web must be installed on the same machine as the Responder Mobile Server.

If you are using Windows Server 2003, you will need to create an application pool before continuing with the steps below. 

  1. Browse to C:\Inetpub\wwwroot\MobileServices and open web.config.
  2. Look for the following XML:

    Copy Code
      <ServerSyncSettings DataSource="Machinename\SQLEXPRESS" DatabaseName="ResponderDatabase"/>
    

  3. Set the Data Source equal to the name of the machine on which SQL Server 2008 Express is installed.
  4. Set the DatabaseName value to the name of your SQL Express database. This database may have been initially named using the InitialCatalog attribute in ConfigureMobileApplication.exe.config (default value is ResponderDatabase). The database name must appear the same in all configuration files that reference it.
  5. Next, you'll set the authentication mode used when running the web service. Look for the following XML:

    Copy Code
      
        <bindings>
          <basicHttpBinding>
            <binding name="Binding1"
                     maxReceivedMessageSize = "2147483647">
              <security mode="None">
              </security>
            </binding>
          </basicHttpBinding>
        </bindings>
    
        <!--<bindings>
          <basicHttpBinding>
            <binding name="Binding1"
                     maxReceivedMessageSize = "2147483647">
              <security mode="TransportCredentialOnly">
                <transport clientCredentialType="Windows"/>
              </security>
            </binding>
          </basicHttpBinding>
        </bindings>
    
        <bindings>
          <basicHttpBinding>
            <binding name="Binding1"
                     maxReceivedMessageSize = "2147483647">
              <security mode="Transport">
                <transport clientCredentialType="Basic"/>
              </security>
            </binding>
          </basicHttpBinding>
        </bindings>-->
    

  6. Above are three sections of XML that define authentication types. The first type defines the None security mode. The second two bindings elements define Windows and Basic security types. The file sets the None authentication type as default by commenting out the Windows and Basic types. The authentication type you want to use should be the only bindings element you do not comment out in this section. 
    • None: No authentication.
    • Windows: Uses windows authentication. If you choose this option, be sure to perform the steps outlined at the bottom of this page (Windows Authentication).
    • Basic: This option requires a certificate for SSL encryption.

    Authentication is also selected during configuration of the Mobile field machines. The authentication type selected on the client machines MUST match the authentication type selected in Web.config.

  7. Save and close web.config.

 

Windows Server 2003

If you are running on an XP machine, you can skip to the section below (Identify Web Service URL). If you are running MobileServices on a Windows Server 2003 machine, perform the steps below. 

  1. Open Computer Management (right-click My Computer and select Manage).
  2. Expand Services and Applications > Internet Information Services > Web Sites > Default Web Site.
  3. Right-click MobileServices and select Properties.
  4. Select the Virtual Directory tab and choose in the Application Pool field the application pool you created in the Create Application Pool step.
  5. Click OK.

 

Identify Web Service URL

When configuring the client machines, you will need to enter the web service URL. Follow the steps below to get this URL.

  1. Open Computer Management (right-click My Computer and select Manage).
  2. Expand Services and Applications > Internet Information Services > Web Sites > Default Web Site.
  3. Select MobileServices.
  4. In the right side of the screen, right-click SyncService.svc and select Browse. This opens a web browser with SyncService Service information.

The URL in the address field is the URL required for the client machine configuration. Be sure to replace "localhost" with the name of the server on which the web service resides before entering this information into the Web Service URL field on the client machine.

 

Windows Authentication

If you are implementing Windows authentication, you must also modify the web service's security properties.

  1. In Computer Management (right-click My Computer and select Manage), expand Services and Applications > Internet Information Services > Web Sites > Default Web Site.
  2. Select MobileServices.
  3. On the right-side of the screen, right-click SyncService.svc and select Properties.
  4. Select the File Security tab.

  5. In the "Anonymous access..." section, click the Edit button. This displays the Authentication Methods window.
  6. Unselect the checkbox for Anonymous access.
  7. Select the checkbox for Integrated Windows Authentication. This checkbox may be selected by default. Ensure it is checked.

  8. Click OK on all open dialog boxes. 
  9. When configuring Responder Mobile (Settings window), be sure to select Windows as the authentication type in the Task Service section.
  10. If you have elected to use Windows authentication, the Web Service Login and Password fields are required on the Task Service screen. Set these values to the user who will be logging in to the client machine.

If the Web Service Login and Password fields are populated, the user MUST login with the user name/password entered. If a different user name/password are used, Responder Mobile will not function properly. These fields are required with Windows and Basic authentication.

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com