I need to make HTTPS call to core service which is provided by wsHttp binding. But my .net code is returning following error:
There was no endpoint listening at https:///webservices/CoreService2011.svc/wsHttp that could accept the message
Also when i tried to open the wsHttp binding URL from browser it is returning me Error 404.
Please provide me the config settings that I need to take care from my CMS server to consume wsHttp binding. Also we are using LDAP authentication.
My server side web.config for wsHttpBinding:
<wsHttpBinding>
<binding name="CoreService_wsHttpBinding" transactionFlow="true" maxReceivedMessageSize="10485760">
<readerQuotas maxStringContentLength="10485760" maxArrayLength="10485760" />
<security mode="TransportWithMessageCredential">
<message clientCredentialType="UserName" />
</security>
</binding>
</wsHttpBinding>
and
<endpoint address="wsHttp" binding="wsHttpBinding" bindingConfiguration="CoreService_wsHttpBinding" name="wsHttp" bindingNamespace="http://www.sdltridion.com/ContentManager/CoreService/2011" contract="Tridion.ContentManager.CoreService.ISessionAwareCoreService2011">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
and client side is :
<wsHttpBinding>
<binding name="wsHttp" closeTimeout="00:01:00" openTimeout="00:01:00"
receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
transactionFlow="true" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="TransportWithMessageCredential">
<transport realm="" />
<message clientCredentialType="UserName" negotiateServiceCredential="true"
algorithmSuite="Default" />
</security>
</binding>
</wsHttpBinding>