mohit ranjan

mohit ranjan

  • NA
  • 51
  • 0

WCF Service works locally but returns 404 on remote server

Feb 18 2013 6:43 AM
http://www.xxxxx.com/RequestService/Service.svc

when i host my service and client on same  server  and in client config
WORK FINE ON  LOCAL SERVER

<client>
  <endpoint address="http://localhost/RequestService/Service.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="RequestService.IService" name="BasicHttpBinding_IService" />
  </client> 



NOT WORKING  ON  LOCAL SERVER BUT WORKS WELL ON OTHER SERVER

<client>
  <endpoint address="http://www.xxxxx.com/RequestService/Service.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="RequestService.IService" name="BasicHttpBinding_IService" />
  </client>


 


Answers (1)