WCF Error : Manual addressing is enabled on this factory, so all messages sent must be pre-addressed
回答2
I added a service reference as usual and got this error. Turns out all I had to do was to amend the client config to use an endpoint config with a behaviour specifing webhttp
<client>
<endpoint address="http://localhost:9000/GeoConverterService/GeoConverterService.svc"
binding="webHttpBinding"
contract="GeoConverter.IGeoConverterService"
behaviorConfiguration="webhttp"/>
</client>
<behaviors>
<endpointBehaviors>
<behavior name="webhttp">
<webHttp/>
</behavior>
</endpointBehaviors>
</behaviors>
标签:pre,addressing,messages,enabled,factory,addressed,Error From: https://www.cnblogs.com/chucklu/p/17374259.html