AddressFilter mismatch at the EndpointDispatcher - the msg with To

前端 未结 12 1811
一个人的身影
一个人的身影 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:56

    I know it sounds silly but for anyone else that has this error check your address. We were getting this error because we had a double slash where there should have only been one.

    http://localhost//servicename.svc

    The above address caused the problem.

    http://localhost/servicename.svc

    Did not exhibit the problem.

    We were dynamically creating the full address from parts of data read in from windows forms and a database. The user was entering /servicename.svc instead of servicename.svc

提交回复
热议问题