Hi Billy,
I have performed some research on this. Here is some information I've got
so far:
As for the ASP.NET client script based AJAX call, it is limited by the web
page script model. For all the web pages in webbrowser, webbrowser will
restrict the script to access pages on remote server. For example, if your
page is from
http://serverA , if your script try use some script
component to send webrequest to other server/application, it is not
allowed. And this also restrict the AJAX method call to remote
applications(webservice or wcf). I've even tried call WCF on the same
machine(different server application), it is now allowed.
So far, one way to make such remote WCF method call I can get is create a
local server-side page method in which you use server-side code to call the
remote WCF service. And your page's client-side script call this
server-side page_method via AJAX. How do you think?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
¦Ë†Â·Ã§Â«Â¯Ã¨Â°Æ’çâ€Â¨æˆÂÂ功,ä½â€ 是æâ€?法Ã?
我们å‚考äºâ€
http://msdn.microsoft.com/zh-cn/library/bb
410780.aspx的资æ�
©Æ’½éœ€è¦ÂÂ在iisä¸Å 部署一个svcæâ€?‡ä»¶ï¼Œä½â€ 是Ã?¹æ®当å‰ÂÂ业åÅ ¡éœ€æ±â
€šÃ¯Â¼Å’我们æâ€?法部署iisæœÂÂ务器ã€?