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). The client setting "ContentServiceConfig" should be set accordingly. |
Example
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<services>
<!-- UBIK CONTENT -->
<service name="UBIK.Service.UBIKContent"
behaviorConfiguration="httpBehavior">
<!-- Endpoint that responds to HTTP requests instead of SOAP messages. -->
<endpoint address=""
behaviorConfiguration="httpBehavior"
binding="webHttpBinding"
bindingConfiguration="WebHttpBinding"
contract="UBIK.Service.IUBIKContent" />
<!-- Endpoint that responds to HTTP requests instead of SOAP messages but uses Newtonsoft Json as Serializer -->
<endpoint address="newjson"
behaviorConfiguration="newtonsoftJsonEndpointBehavior"
binding="webHttpBinding"
bindingConfiguration="newtonsoftJsonWebHttpBinding"
contract="UBIK.Service.IUBIKContent" />
<endpoint address="/SOAP"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding"
contract="UBIK.Service.IUBIKContent" />
<endpoint address="/SOAP11"
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding"
contract="UBIK.Service.IUBIKContent" />
</service>
<!-- END UBIK CONTENT -->
<!-- UBIK USAM -->
<service name="UBIK.Service.USAM"
behaviorConfiguration="httpBehavior">
<!-- Endpoint that responds to HTTP requests instead of SOAP messages. -->
<endpoint address=""
behaviorConfiguration="httpBehavior"
binding="webHttpBinding"
bindingConfiguration="WebHttpBinding"
contract="UBIK.Service.IUSAM" />
<!-- Endpoint that responds to HTTP requests instead of SOAP messages but uses Newtonsoft Json as Serializer -->
<endpoint address="newjson"
behaviorConfiguration="newtonsoftJsonEndpointBehavior"
binding="webHttpBinding"
bindingConfiguration="newtonsoftJsonWebHttpBinding"
contract="UBIK.Service.IUSAM" />
<endpoint address="/SOAP"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding"
contract="UBIK.Service.IUSAM" />
<endpoint address="/SOAP11"
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding"
contract="UBIK.Service.IUSAM" />
</service>
<!-- END UBIK USAM -->
<!-- UBIK PUSH -->
<service name="UBIK.Service.UBIKPush"
behaviorConfiguration="httpBehavior">
<!-- Endpoint that responds to HTTP requests instead of SOAP messages. -->
<endpoint address=""
behaviorConfiguration="httpBehavior"
binding="webHttpBinding"
bindingConfiguration="WebHttpBinding"
contract="UBIK.Service.IUBIKPush" />
<!-- Endpoint that responds to HTTP requests instead of SOAP messages but uses Newtonsoft Json as Serializer -->
<endpoint address="newjson"
behaviorConfiguration="newtonsoftJsonEndpointBehavior"
binding="webHttpBinding"
bindingConfiguration="newtonsoftJsonWebHttpBinding"
contract="UBIK.Service.IUBIKPush" />
<endpoint address="/SOAP"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding"
contract="UBIK.Service.IUBIKPush" />
<endpoint address="/SOAP11"
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding"
contract="UBIK.Service.IUBIKPush" />
</service>
<!-- END UBIK PUSH -->
</services>
<?xml version="1.0" encoding="UTF-8"?>
<services>
<!-- UBIK CONTENT -->
<service name="UBIK.Service.UBIKContent"
behaviorConfiguration="httpBehavior">
<!-- Endpoint that responds to HTTP requests instead of SOAP messages. -->
<endpoint address=""
behaviorConfiguration="httpBehavior"
binding="webHttpBinding"
bindingConfiguration="WebHttpBinding"
contract="UBIK.Service.IUBIKContent" />
<!-- Endpoint that responds to HTTP requests instead of SOAP messages but uses Newtonsoft Json as Serializer -->
<endpoint address="newjson"
behaviorConfiguration="newtonsoftJsonEndpointBehavior"
binding="webHttpBinding"
bindingConfiguration="newtonsoftJsonWebHttpBinding"
contract="UBIK.Service.IUBIKContent" />
<endpoint address="/SOAP"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding"
contract="UBIK.Service.IUBIKContent" />
<endpoint address="/SOAP11"
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding"
contract="UBIK.Service.IUBIKContent" />
</service>
<!-- END UBIK CONTENT -->
<!-- UBIK USAM -->
<service name="UBIK.Service.USAM"
behaviorConfiguration="httpBehavior">
<!-- Endpoint that responds to HTTP requests instead of SOAP messages. -->
<endpoint address=""
behaviorConfiguration="httpBehavior"
binding="webHttpBinding"
bindingConfiguration="WebHttpBinding"
contract="UBIK.Service.IUSAM" />
<!-- Endpoint that responds to HTTP requests instead of SOAP messages but uses Newtonsoft Json as Serializer -->
<endpoint address="newjson"
behaviorConfiguration="newtonsoftJsonEndpointBehavior"
binding="webHttpBinding"
bindingConfiguration="newtonsoftJsonWebHttpBinding"
contract="UBIK.Service.IUSAM" />
<endpoint address="/SOAP"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding"
contract="UBIK.Service.IUSAM" />
<endpoint address="/SOAP11"
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding"
contract="UBIK.Service.IUSAM" />
</service>
<!-- END UBIK USAM -->
<!-- UBIK PUSH -->
<service name="UBIK.Service.UBIKPush"
behaviorConfiguration="httpBehavior">
<!-- Endpoint that responds to HTTP requests instead of SOAP messages. -->
<endpoint address=""
behaviorConfiguration="httpBehavior"
binding="webHttpBinding"
bindingConfiguration="WebHttpBinding"
contract="UBIK.Service.IUBIKPush" />
<!-- Endpoint that responds to HTTP requests instead of SOAP messages but uses Newtonsoft Json as Serializer -->
<endpoint address="newjson"
behaviorConfiguration="newtonsoftJsonEndpointBehavior"
binding="webHttpBinding"
bindingConfiguration="newtonsoftJsonWebHttpBinding"
contract="UBIK.Service.IUBIKPush" />
<endpoint address="/SOAP"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding"
contract="UBIK.Service.IUBIKPush" />
<endpoint address="/SOAP11"
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding"
contract="UBIK.Service.IUBIKPush" />
</service>
<!-- END UBIK PUSH -->
</services>