关于远程无法访问服务器的webServices

有客户反应在本地调试程序是好的,为什么传到服务器不能用get/post调用他。其实VS默认生成的web.config并没有声明这样可以远程调用。

解决办法:

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

转载于:https://www.cnblogs.com/LCX/archive/2007/09/06/883881.html

你可能感兴趣的:(关于远程无法访问服务器的webServices)