Configuring WCF Smartobject Services

  • 5 January 2012
  • 0 replies
  • 3 views

Badge +1

Hello, I'm trying to configure WCF SmartObject Services on my server. Here is my K2HostServer.config :


<smoServices enableEndpoints="true" enableEvents="true" enableCrossDomainPolicy="false" scheme="http" server="CHSVMK201" port="8888" serviceRoot="SmartObjectServices" specialCharacterReplacement="_" enableMetadata="true">
     <rest binding="webHttpBinding" bindingConfiguration="webHttpBinding+Windows" />
     <wcf binding="wsHttpBinding" bindingConfiguration="wsHttpBinding+Windows" />
     <managedEndpoints>
      <excluded all="true" />
      <static>
        <endpoints>
          <endpoint categoryPath="SO.WED/" />
        </endpoints>
      </static>
    </managedEndpoints>
  </smoServices>
  <system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding name="wsHttpBinding+Windows">
          <security mode="Message" />
        </binding>
        <binding name="wsHttpBinding+TWMC+HTTPS">
          <security mode="TransportWithMessageCredential">
            <message clientCredentialType="Windows" />
          </security>
        </binding>
        <binding name="wsHttpBinding+HTTPS">
          <security mode="Transport">
            <transport clientCredentialType="Windows" />
          </security>
        </binding>
      </wsHttpBinding>
      <basicHttpBinding>
        {...default...}     
       </basicHttpBinding>
      <webHttpBinding>
        {...default...}
       </webHttpBinding>
    </bindings>
  </system.serviceModel>


When I restart my server, endpoints aren't created and the logs are giving my the following :
"1795878","2012-01-05 02:00:30","Error","General","1","GeneralErrorMessage","SourceCode.Endpoint.Server.DynamicServiceWcf.CreateDynamicService","1 No elements matching the key 'wsHttpBinding+Windows' were found in the configuration element collection.","","","chsvmk201:C:Program Files (x86)K2 blackpearlHost ServerBin","1795878","5fbf686b2165481ea14fe9df3fa8bf6b",""
"1795879","2012-01-05 02:00:30","Error","General","1","GeneralErrorMessage","SourceCode.Endpoint.Server.EndpointServer.LoadSharedEndpoints","1 No elements matching the key 'wsHttpBinding+Windows' were found in the configuration element collection.","","","chsvmk201:C:Program Files (x86)K2 blackpearlHost ServerBin","1795879","d9a9f2b03b98424197e37a388820797e",""


I cannot find what is missing... Any help would be really appreciated


0 replies

Be the first to reply!

Reply