应用服务器上开发了几个webservice方法
方法参数为基本数据类型时,远程调用没有问题(如of_insert_test)
但方法参数为结构体是,远程调用就会出错!(如of_insert_test3)
在IE里查看时,显示:测试窗体只能用于来自本地计算机的请求
测试证明,在服务器中调用of_insert_test3是没有问题的。
在在web.config的<system.web></system.web>中间已加入:
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
</webServices>
请问怎么解决远程调用的问题?