asp.net - Binding WCF service -


i have launched asp. net aplication use wcf service, here code of web.config:

<system.servicemodel> <client>   <endpoint address="http://somehost.com/giservice.svc" binding="basichttpbinding"   contract="respservice.iprocess"/> </client> </system.servicemodel> 

problem service bind absolute uri, if set relative have error: uri should absolute

try following:

<system.servicemodel> <client>   <endpoint address="/giservice.svc" binding="basichttpbinding"   contract="respservice.iprocess"/> </client> </system.servicemodel> 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -