Web Services Designer Configuration

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" />

Note.pngThe 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" />

Note.png 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"/>

Note.pngSSO service endpoint name. Should be same as <system.serviceModel>\<client>\<endpoint> element name.

<add key="DNNShoppingCartWebServiceUserId" value="admin"/>

<add key="DNNShoppingCartWebServicePassword" value="admin"/>

Note.png 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" />

Note.png 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" />

 

Note.png Address of the shopping cart service should be set to a valid service URI.