BioID Web Service serviceModel configuration

event_note April 22, 2015

If you are writing a Windows client- or web-application that is intended to access the BioID Web Service, you may need to modify the system.serviceModel section of your app.config or web.config file. We highly recommend to refer to this sample configuration to apply the correct settings.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.servicemodel>
    <behaviors>
      <endpointbehaviors>
        <behavior name="clientEndpointBehavior">
          <clientcredentials>
            <!-- we need to provide a client certificate (can be requested from BioID GmbH) -->
            <!-- TODO: enter the thumbprint of your BWS client certificate -->
            <clientcertificate findvalue="your thumbprint" storelocation="CurrentUser" storename="My" x509findtype="FindByThumbprint">
            </clientcertificate>
          </clientcredentials>
        </behavior>
      </endpointbehaviors>
    </behaviors>
    <bindings>
      <basichttpbinding>
        <binding closetimeout="00:01:00" maxbufferpoolsize="104857600" maxreceivedmessagesize="52428800" name="BasicHttpBinding_IBioIDWebService" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:02:00">
          <security mode="Transport">
            <transport clientcredentialtype="Certificate">
            </transport>
          </security>
        </binding>
      </basichttpbinding>
    </bindings>
    <client>
      <!-- the endpoint used to access the BWS (references the behavior and binding above) -->
      <!-- TODO: enter the correct address of the BWS -->
      <endpoint address="https://bws.bioid.com/BioIDWebService.svc" behaviorconfiguration="clientEndpointBehavior" binding="basicHttpBinding" bindingconfiguration="BasicHttpBinding_IBioIDWebService" contract="BWS.IBioIDWebService" name="SecureHttpEndpoint">
      </endpoint>
    </client>
  </system.servicemodel>
</configuration>

Name Version Published
sample config.txt 1 2017-12-13 14:49