Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过 HTTP GET 访问我的一种 Web 服务方法,我以前见过它,但我不知道如何在 VS2008 Web 服务项目上允许这种访问协议。
我猜您必须更改 web.config 文件,但不确定要更改什么。
有人知道吗?
在您的 Web.config 中:
<configuration> <system.web> <webServices> <protocols> <add name="HttpGet"/> </protocols> </webServices> </system.web> </configuration>