Service hosting in IIS / WAS using HTTP/HTTPs transport

Experimental support for exposing the service using the wsHttpBinding and basicHttpBinding is being worked on as a part of rel 1.3.

The following modes have been tested and corresponding support has been introduced into the client:
  • wsHttpBinding, SecurityMode="Message", HTTP
  • basicHttpBinding, SecurityMode="TransportCredentialOnly", HTTP


  <system.serviceModel>

    <diagnostics performanceCounters="All" />

    <behaviors>
      <serviceBehaviors>
        <behavior name="mex">
          <serviceDebug includeExceptionDetailInFaults="false" httpHelpPageEnabled="true" />
          <serviceMetadata httpGetEnabled="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <services>
      <service name="PS.WSSDeploy.Service.WCFService" behaviorConfiguration="mex">
        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpWithMessage"
           contract="PS.WSSDeploy.Contract.IWSSDeployContract"  >
        </endpoint>
      </service>
    </services>
    <bindings>
    <wsHttpBinding>
	  <binding name="wsHttpWithMessage" messageEncoding="Mtom" maxReceivedMessageSize="2147483647" receiveTimeout="00:05:00">
          <security mode="Message" >
            <transport clientCredentialType="Windows"/>
          </security>

      <readerQuotas maxArrayLength="50000000" />
    </binding>
      
      </wsHttpBinding>
    </bindings>
  </system.serviceModel>

Last edited Apr 20, 2009 at 3:29 PM by valorekhov, version 1

Comments

No comments yet.