WCF Error : Manual addressing is enabled on this factory, so all messages sent must be pre-addressed

后端 未结 4 695
臣服心动
臣服心动 2021-01-01 08:33

I\'ve got a hosted WCF service that I created a custom factory for, so that this would work with multiple host headers:

/// 
/// Required for          


        
4条回答
  •  心在旅途
    2021-01-01 09:16

    So this has finally come to an end!

    Brian - thanks for your guidance on this. The bindings were mis-aligned b/t the client and server, and I finally ended up going with the following in both:

      
        
          
            
          
        
       
    

    ... and setting their endpoint binding and bindingConfiguration attributes accordingly:

       
    

    Since this is relatively new turf for me, just the explanation of why those errors were popping up lead me in the right direction :).

提交回复
热议问题