开发者

Fail to add/replace basicHttpBinding with wsDualHttpBinding

I'm new in the WCF

I wrote some server that work on IIS 7.5 I using the basicHttpBinding endpoint - and i want replace or add support for the wsDualHttpBinding endpoint.

So i used the WCF configuration tool to change the basicHttpBinding to wsDualHttpBinding. And nothing work.

I change back to http and add new endpoint that wil开发者_如何转开发l define as wsDualHttpBinding - and nothing work.

( i change in the client also )

How can i support the wsDualHttpBinding ? Why this is not working ?


After you change the endpoint on the server, you will have to change it on the client as well.

If you change to wsDualHttpBindingon the server, and do nothing to the client, it will remain as basicHttpBinding, and it will not work. The binding on the client will have to be compliant with the server binding for the communication to work between client and server.

If you have already tried this, please let us know which error message you get when trying to run your program.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜