直接输入参数调试WebServices

调试WebServices。可以通过在web.config文件中的 <system.web>下加入以下代码。就可以直接在webservices网页上输入参数调试了。

虽然这个调试的方法实在不值一提。但是每次需要用到时都想不起来。浪费很多时间查找它。今天无意看到这段代码就把它发上来吧。以后用时方便了。

<webServices>
 <protocols>
  <add name="HttpSoap"/>
  <add name="HttpPost"/>
  <add name="HttpGet"/>
  <add name="Documentation"/>
 </protocols>
</webServices>

你可能感兴趣的:(WebServices)