WCF Error : Relative end point addresses

前端 未结 3 2070
死守一世寂寞
死守一世寂寞 2021-02-19 15:40

Um quite new to WCF . I think I have messed up a bit. So this is what I did so far and I ve hosted my WCF service in IIS

First the Contracts

using System         


        
3条回答
  •  孤街浪徒
    2021-02-19 16:27

    To fix this error, I added... listenUri="/" ... to the service endpoint.

    Example:

    
      
    
    

    MSDN: Multiple Endpoints at a Single ListenUri

提交回复
热议问题