I have launched ASP. net aplication that use WCF service, here some code of WEB.config:
<system.serviceModel>
<client>
<endpoint address="http://somehost.com/GiService.svc" binding="basicHttpBinding"
contract="RespService.IProcess"/>
</client>
</system.serviceModel>
Problem that this service bind to absolute URI, but if set relative i have error: This URI should be absolute
Try the following:
<system.serviceModel>
<client>
<endpoint address="/GiService.svc" binding="basicHttpBinding"
contract="RespService.IProcess"/>
</client>
</system.serviceModel>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.