Jump to: navigation, search

Configuration Files/Client.config


Revision as of 13:51, 22 July 2015 by KNO (Talk | contribs)

In this file the client definitions can be configured, which are used by the content service for connecting to the session management service (USAM) as defined in the appSettings.

The client's endpoint addresses are ignored as they are replaced by the settings provided in appSettings at service runtime!

IC Hint square.pngIf an additional, user defined web service should be accessed from within UBIK® Studio, UBIK® Enterprise Service or the Web Service an endpoint definition has to be added.

Example

<system.serviceModel>
  ...
  <client>
    <endpoint address="a" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUSAM" contract="USAMService.IUSAM" name="BasicHttpBinding_IUSAM"/>
    <endpoint address="a" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUSAM" contract="USAMService.IUSAM" name="WSHttpBinding_IUSAM"/>
    <endpoint address="https://137.135.200.180[:PORT]/UBIK/DEMO.240.PUSH/UBIKPush.svc/SOAP" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUBIKPush" contract="PushService.IUBIKPush" name="WSHttpBinding_IUBIKPush" />
  </client>
</system.serviceModel>

where a user defined web service URL has been defined via

    <endpoint address="https://137.135.200.180[:PORT]/UBIK/DEMO.240.PUSH/UBIKPush.svc/SOAP" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUBIKPush" contract="PushService.IUBIKPush" name="WSHttpBinding_IUBIKPush" />

See also