AddressFilter mismatch at the EndpointDispatcher - the msg with To

前端 未结 12 1813
一个人的身影
一个人的身影 2020-12-14 06:21

Any ideas how I correct this.. calling a service via js

The message with To \'http://MySite.svc/GetStateXML\' cannot be processed at the receiver, due

12条回答
  •  自闭症患者
    2020-12-14 06:54

    Add webHttp attribute to your config:

    endpointBehaviors
            behavior name ="yourServiceContract"
              webHttp  automaticFormatSelectionEnabled ="true "
            behavior
    

提交回复
热议问题