I feel this question is so important that not one of the textbooks or documentation even mentions how to do this. I am familiar with web services on other platforms, but I am new to WCF services.
I created wsHttpBinding like this (in web.config):
<service behaviorConfiguration="IdentityServiceBehavior" name="Com.CompanyName.Service.IdentityService">
<endpoint address="/Identityservice" binding="wsHttpBinding"
bindingConfiguration="" contract="Com.CompanyName.Service.IIdentityService" />
<endpoint address="mex" binding="mexHttpBinding" bindingConfiguration=""
bindingNamespace="" contract="IMetadataExchange" />
</service>
I am trying to use the URL using Fiddler or just a browser, and it just gives me 400 result. I tried many different possibilities for what could be a URL, but not cubes. I have tried this url and several variants of it: http: // localhost: 61987 / IdentityService.svc / Identityservice
If anyone can point me towards the basic information that I am missing here, I would be very grateful.
source
share