web.config配置
1.提示:The test form is only available for requests from the local machine是因为没有加入
**完整配置信息:
<?xml version="1.0" encoding="utf-8"?>
2.提示:Only Web services with a [ScriptService] attribute on the class definition can be called from script,需要在asmx文件中加入:
[ScriptService]
完整信息:
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ScriptService]