Jump to: navigation, search

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


 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
The client's endpoint addresses are ignored as they are replaced by the settings provided in appSettings at service runtime!
 
The client's endpoint addresses are ignored as they are replaced by the settings provided in appSettings at service runtime!
  
{{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">
+
<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>
+
</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>
+
  
 
== See also ==
 
== See also ==
Line 26: Line 9:
  
 
[[Category:Installing|Configuration Files/Client.config]]
 
[[Category:Installing|Configuration Files/Client.config]]
 +
[[Category:Web service|Configuration Files/Client.config]]

Latest revision as of 10:31, 7 July 2023

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.

See also