Difference between revisions of "Configuration Files/Client.config"
Line 5: | Line 5: | ||
{{Hint|If 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.}} | {{Hint|If 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 == | |
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> |
Revision as of 14:22, 12 May 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!
If 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>
...
<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>