Installing Server > Installing UNICOM Intelligence Interviewer - Server > Post-installation tasks for UNICOM Intelligence Interviewer - Server > Optional tasks > Setting up your website to use SSL > Example Web.config settings for accessing SyncWebserviceV2 with SSL enabled
 
Example Web.config settings for accessing SyncWebserviceV2 with SSL enabled
The following example Web.config file provides the required settings for accessing SyncWebServiceV2 on an SSL enabled server. For more information about SyncWebServiceV2, see Modifying the default Web service settings for UNICOM Intelligence Remote Administration.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SPSS.Dimensions.WebServices.DimensionsSyncService.Properties.Settings" type="System.Configuration.
ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission="false" />
</sectionGroup>
</configSections>
<appSettings>
<add key="DPMServerName" value="localhost"/>
<add key="inbox" value="C:\Inetpub\wwwroot\SPSSMR\SyncWebServiceV2\inbox"/>
<add key="ProcessedPackagesPath" value="C:\inetpub\wwwroot\SPSSMR\SyncWebServiceV2\inbox\ProcessedPackages"/>
<add key="InvalidCacheFilesPath" value="C:\inetpub\wwwroot\SPSSMR\SyncWebServiceV2\inbox\InvalidCacheFiles" />
<add key="FailedUploadPackagesPath" value="C:\inetpub\wwwroot\SPSSMR\SyncWebServiceV2\inbox\FailedUploadPackages" />
<add key="MaxPacketSize" value="1048576"/>
<add key="NoCompressionExtensionList" value="*.jpg;*.jpeg;*.png;*.gif;*.avi;*.mpg;*.mp3;*.mp4;*.mov;"/>
<add key="DPMCachedDataRefreshInterval" value="300" />
<add key="SyncSessionTimeout" value="60" />
</appSettings>
<system.web>
<identity impersonate="true"/>
<httpRuntime maxRequestLength="2097151" />
</system.web>
<system.serviceModel>
<client />
<bindings>
<basicHttpBinding>
<binding name="SyncServiceBinding" maxBufferSize="2097152" maxBufferPoolSize="2097152"
maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8"
transferMode="Streamed">
<readerQuotas maxDepth="128" maxStringContentLength="2097152"
maxArrayLength="2097152" maxBytesPerRead="2097152" maxNameTableCharCount="2097152" />
</binding>

<binding name="SSLSyncServiceBinding" maxBufferSize="2097152" maxBufferPoolSize="2097152"
maxReceivedMessageSize="2147483647" messageEncoding="Mtom" textEncoding="utf-8"
transferMode="Streamed">
<readerQuotas maxDepth="128" maxStringContentLength="2097152"
maxArrayLength="2097152" maxBytesPerRead="2097152" maxNameTableCharCount="2097152" />
<security mode="Transport"/>
</binding>
</basicHttpBinding>
</bindings>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<services>
<service behaviorConfiguration="MEX" name="Spss.Dimensions.Mobile.SyncService">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="SyncServiceBinding"
name="basic" contract="Spss.Dimensions.Mobile.ISyncService" />

<!--
When enabling synchronization over SSL, the following address will need to be updated to reflect the correct server
address. The 'binding="mexHttpBinding"' setting will also need to be changed to 'binding="mexHttpsBinding"'.
<endpoint address="https://example.domain.com/SPSSMR/SyncWebServiceV2/Service.svc"
binding="basicHttpBinding"
bindingConfiguration="SSLSyncServiceBinding"
name="basic" contract="Spss.Dimensions.Mobile.ISyncService" />
-->
<endpoint address="https://example.domain.com/SPSSMR/SyncWebServiceV2/Service.svc"
binding="basicHttpBinding"
bindingConfiguration="SSLSyncServiceBinding"
name="basic" contract="Spss.Dimensions.Mobile.ISyncService" />
<endpoint address="mex" binding="mexHttpBinding" name="mex" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MEX">
<!--
Set maxConcurrentCalls, maxConcurrentSessions, and maxConcurrentInstances to a value greater than 16 * the number of CPUs or
CPU cores.
For example, on a computer with 8 CPU cores, set maxConcurrentCalls,
maxConcurrentSessions, and maxConcurrentInstances to a value greater than 128 (16 * 8 = 128) as follows:
<serviceThrottling
maxConcurrentCalls="200"
maxConcurrentSessions="200"
maxConcurrentInstances="200" />
-->
<serviceThrottling
maxConcurrentCalls="100"
maxConcurrentSessions="100"
maxConcurrentInstances="100"/>
<serviceMetadata />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
See
Setting up your website to use SSL