Jump to: navigation, search

Difference between revisions of "Configuration Files/Client.config"


Line 6: Line 6:
  
 
== Example ==
 
== Example ==
 
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
 
<system.serviceModel>
 
<system.serviceModel>
Line 16: Line 15:
 
   </client>
 
   </client>
 
</system.serviceModel>
 
</system.serviceModel>
 +
</syntaxhighlight>
 +
 +
where a user defined web service URL has been defined via
 +
<syntaxhighlight lang="xml">
 +
    <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" />
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 21: Line 25:
 
* [[Configuration Files]]
 
* [[Configuration Files]]
  
[[Category:Installing]]
+
[[Category:Installing|Configuration Files/Client.config]]

Revision as of 13:51, 22 July 2015

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