Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Services-------------------------
<system.serviceModel>
    <bindings>
      <netHttpBinding>
        <binding name="netTcpBinding" receiveTimeout="00:00:10">
          <reliableSession enabled="true"/>
        </binding>
      </netHttpBinding>
    </bindings>
    <behaviors>
      <serviceBehaviors>
        <behavior name="Login">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
       
      </serviceBehaviors>
    </behaviors>
    <services>
      <service behaviorConfiguration="Login" name="abc.BusinessLayers.Service.LoginInfo">
        <endpoint address="HelloService" binding="netHttpBinding" bindingConfiguration="netTcpBinding"
            contract="abc.BusinessLayers.Service.ILoginInfo">
         
        </endpoint>
        <host>
          <baseAddresses>
            <add baseAddress="http://ww.abc.com/LoginInfo/LoginInfo/" />
          </baseAddresses>
        </host>
      </service>
      
    </services>
  </system.serviceModel>




Client --------------------
<system.servicemodel>
<bindings>
<custombinding>
<binding name="NetHttpBinding_ILoginInfo">
<reliableSession />
<binaryMessageEncoding />
<httpTransport />



<client>
<endpoint address="http://www.abc.com/LoginInfo/LoginInfo/HelloService"
binding="customBinding" bindingConfiguration="NetHttpBinding_ILoginInfo"
contract="LoginInfoService.ILoginInfo" name="NetHttpBinding_ILoginInfo">





What I have tried:

i have used in localhost its worked Perfectly no issue, but i upload on server changed the domain name then upload it and i found error not error also wcf not working why i dont know plz help anyone to resolve my issue
Posted
Comments
David_Wimbley 13-Jan-18 1:12am    
What is your error that you are getting? Any exceptions? You have to realize we don't have access to your server and saying "wcf not working on server" is the equivalent of going to the doctor and saying "im sick" and expecting him to fix you.

If you want some help you need to help yourself and post the error that your getting, any relevant stack traces or screenshots.
vermanishad 13-Jan-18 3:46am    
i dont mean it i got a error 404 file not found wcf service call in url
Karthik_Mahalingam 19-Jan-18 8:47am    
Tip:
use  Reply  button, to post Comments/query to the user, so that the user gets notified and responds to your text.

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