Azure Worker Role with HTTP input endpoint on port 8732 with HTTP 405 Error

拈花ヽ惹草 提交于 2019-12-06 17:09:31

问题


Ok, just to clarify - I have tried every site, every article and forum so far for this problem. I have implemented everything mentioned everywhere, it works in the emulator as well.

Basically I have this worker role which exposes WCF services with basichttpbinding, custombinding and wshttpbinding. In the cloud, the service starts without errors, I can even access the WCF URL via HTTP from the browser from within the azure VM.

But, when I try to access the same URL from http://x.cloudapp.net:8732/xyz/abc.svc - it gives me 405 errors. I can see the input endpoints in the properties - within the azure control panel.

Just to note: my colleague got this working by creating default end points and writing the usual code to start the service host. I need to get this working using my WCF configuration, and not the default values which come with a new binding.

来源:https://stackoverflow.com/questions/8332564/azure-worker-role-with-http-input-endpoint-on-port-8732-with-http-405-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!