Jump to: navigation, search

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


(Created page with "== Example == <syntaxhighlight lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <services> <service name="UBIK.Service.UBIKContent" behaviorConfiguration="httpBehavior">...")
 
Line 1: Line 1:
 +
{{Attention|If the service has to support the streaming transfer mode - e.g. used for downloading large data branches in the UBIK client, ensure to provide the endpoint definition for "BasicHttpBinding_UBIKContent" (see example)}}
 +
 +
 
== Example ==
 
== Example ==
  
Line 7: Line 10:
 
     <endpoint address="" behaviorConfiguration="httpBehavior" binding="webHttpBinding" contract="UBIK.Service.IUBIKContent" />
 
     <endpoint address="" behaviorConfiguration="httpBehavior" binding="webHttpBinding" contract="UBIK.Service.IUBIKContent" />
 
     <endpoint address="/SOAP" binding="wsHttpBinding" contract="UBIK.Service.IUBIKContent" />
 
     <endpoint address="/SOAP" binding="wsHttpBinding" contract="UBIK.Service.IUBIKContent" />
 +
    <!-- USED FOR STREAMING TRANSFER MODE -->
 +
    <endpoint address="/SOAP11" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_UBIKContent" contract="UBIK.Service.IUBIKContent" />
 
   </service>
 
   </service>
 
</services>
 
</services>
Line 14: Line 19:
 
* [[Configuration Files]]
 
* [[Configuration Files]]
  
[[Category:Installing]]
+
[[Category:Installing|Configuration Files/Services.config]]
[[Category:Web service]]
+
[[Category:Web service|Configuration Files/Services.config]]

Revision as of 16:04, 28 November 2016

IC Attention.pngIf the service has to support the streaming transfer mode - e.g. used for downloading large data branches in the UBIK client, ensure to provide the endpoint definition for "BasicHttpBinding_UBIKContent" (see example)


Example

<?xml version="1.0" encoding="UTF-8"?>
<services>
  <service name="UBIK.Service.UBIKContent" behaviorConfiguration="httpBehavior">
    <endpoint address="" behaviorConfiguration="httpBehavior" binding="webHttpBinding" contract="UBIK.Service.IUBIKContent" />
    <endpoint address="/SOAP" binding="wsHttpBinding" contract="UBIK.Service.IUBIKContent" />
    <!-- USED FOR STREAMING TRANSFER MODE -->
    <endpoint address="/SOAP11" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_UBIKContent" contract="UBIK.Service.IUBIKContent" />
  </service>
</services>

See also