Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello...

I have create One web services and Host this web service. This web services authentication set.
I have set this code in web config.

<system.servicemodel>
<bindings>
<wsdualhttpbinding>
<binding name="WSDualHttpBinding_IService1" closetimeout="00:05:00" opentimeout="00:01:00" receivetimeout="00:10:00" sendtimeout="00:01:00">
transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536">
<security mode="None">
<message clientcredentialtype="None" algorithmsuite="Default">




<client>
<endpoint address="http://mcwebservice.azurewebsites.net/Service1.svc">
binding="wsDualHttpBinding" bindingConfiguration="WSDualHttpBinding_IService1"
contract="ServiceReference1.IService1" name="WSDualHttpBinding_IService1" >
<identity>
<!--<dns value="localhost">-->
<serviceprincipalname value="mcwebservice\$mcwebservice">
<dns value="mcwebservice.azurewebsites.net">






"============ I got this type error ========".
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://mcwebservice.azurewebsites.net/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
Posted
Updated 29-Jan-15 18:23pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900