当前位置:网站首页>Customize WebService as a proxy to solve the problem of Silverlight calling WebService across domains

Customize WebService as a proxy to solve the problem of Silverlight calling WebService across domains

2022-06-26 05:30:00 Eric (fengcan)

  In use SilverLight In development , Call a third-party provided WebService Encountered a cross domain problem while . It is said on the Internet that policy documents should be added to WebService Under the root directory . ha-ha , For third parties WebService Of course there is nothing we can do . To get around that , We can only use Asp.net To call third-party WebService. So we built a new one ourselves WebService, The method inside is the same as that of the third party , It simply calls its methods . then SilverLight Call our own WebService, This successfully bypasses cross domain problems .

  Although the solution is not good-looking , But it has solved the problem economically . Looking forward to a better solution .

原网站

版权声明
本文为[Eric (fengcan)]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260527404786.html