The “DataServices” section in the Personify Enterprise Configuration (Config.xml) file controls the configuration of the Personify WSD.
<Section
Name="DataServices">
<Item
Name="Publishing"
BuildOutputPath="DataServicesGenerated"
PublishLocalPath="C:\Personify\..."
PublishServerUri=""
PersonifyDlls
="
g1client.dll,
GenuineChannels.dll,
ICSharpCode.SharpZipLib.dll,
log4net.dll,
TIMSS.API.Base.dll,
TIMSS.API.Core.dll,
TIMSS.API.Generated.dll,
TIMSS.API.Interfaces.dll,
TIMSS.Client.Implementation.dll,
TIMSS.CommunicationLayer.dll,
TIMSS.Server.BusinessImplementation.dll,
TIMSS.Server.Implementation.dll,
TIMSS.Shared.dll"
/>
</Section>
As of the 7.4.2 release, the following are the new Personify Data Services
configurations:
1. Following are the new <appSettings> key / values:
<add key="PersonifyVersion" value="Current" />
The
current Personify version is the first 3 digits of the version without
the SP information.
2. Indicates the type of authentication. Possible values – SSO, Personify.
<add key="UserAuthentication" value="SSO" />
<add key="SSOInterfaceType" value="SSO" />
<add key="SSOInterfaceExtension" value="SSO" />
<add key="SSOVendorUserParameterName" value="SSO USERNAME" />
<add key="SSOVendorPasswordParameterName" value="SSO PASSWORD" />
<add key="SSOWebServiceURLParameterName" value="SSO WEB SERVICE URL" />
The above values are stored in the Personify database in the APP_INTERFACE_PARAMETER_MASTER
and APP_INTERFACE_PARAMETER_DTL tables. These are default values. Change
the value ONLY if a different
SSO service is used for e-Business and mobile.
<add key="SSOEndpoint" value="PersonifySSOEndPoint"/>
SSO
service endpoint name. Should be same as <system.serviceModel>\<client>\<endpoint>
element name.
<add key="DNNShoppingCartWebServiceUserId" value="admin"/>
<add key="DNNShoppingCartWebServicePassword" value="admin"/>
Basic authentication credentials used by shopping cart service.
3. The following are the new <system.serviceModel> settings:
<services>
<service name="PersonifyDataServices.PersonifyData">
<endpoint address=""binding="webHttpBinding" bindingConfiguration="higherMessageSize"
contract="System.Data.Services.IRequestHandler" />
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="serviceSoap" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
<webHttpBinding>
<binding name="higherMessageSize" maxBufferSize="4194304" maxBufferPoolSize="4194304"
maxReceivedMessageSize="4194304" transferMode="Streamed">
<readerQuotas maxDepth="32" maxStringContentLength="4194304"
maxArrayLength="4194304" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
</binding>
</webHttpBinding>
</bindings>
<client>
<endpoint binding="basicHttpBinding"
bindingConfiguration="serviceSoap"
contract="PersonifySSO.serviceSoap"
name="PersonifySSOEndPoint" />
<endpoint address="http://localhost/PersonifyEBusiness/PersonifyShoppingCart.asmx"
binding="basicHttpBinding"
bindingConfiguration="serviceSoap"
contract="PersonifyShoppingCartSoap"
name="PersonifyShoppingCartSoap" />
</client>
4. All the settings should be included as is unless mentioned below:
a. <endpoint binding="basicHttpBinding"
bindingConfiguration="serviceSoap"
contract="PersonifySSO.serviceSoap"
name="PersonifySSOEndPoint" />
Name of the service endpoint is a configurable value and can be set to
any value. However,it should be the same value as the SSO
Endpoint appSetting key.
b. <endpoint address="http://localhost/PersonifyEBusiness/PersonifyShoppingCart.asmx"
binding="basicHttpBinding"
bindingConfiguration="serviceSoap"
contract="PersonifyShoppingCartSoap"
name="PersonifyShoppingCartSoap" />
Address of the shopping cart service should be set to a valid service
URI.
BuildOutputPath
You can specifically set where the compilation output files will be
generated in. Please see Compiling
and Publishing Web Services for more information. By default,
the output folder will be the “DataServicesGenerated” folder inside
the Personify WSD's executable current folder. You can also set this
config to an absolute path such as: C:\Temp (make sure you have access
rights to this path). This setting is optional. Leaving it blank will
be defaulted to the Personify WSD's executable folder.
PublishLocalPath
This setting is optional. You can specify the default value for the
path to the local deployment of the Personify Data Services. It is
the path to the virtual folder on your local machine, where you would
like to test your data services. For example: C:\inetpub\wwwroot\PersonifyDataServicesTest
PublishServerUri
This setting is optional. You can specify the default value for the
FTP URI to the web server deployment of the Personify Data Services.
PersonifyDlls
This config specifies the list of assembly files that will be published
when the “Include Personify dlls” checkbox is checked. Please see
Compiling and
Publishing Web Services for more information. The assembly file,
whose name in this list, needs to be available in the Personify WSD's
executable current folder.