节点文献
一种基于.NET AJAX框架跨域调用Web服务的方法
A Method for Cross-Domain Calling Web Services Based on .NET AJAX Framework
【摘要】 XMLHttpRequest(IE for XMLHTTP)对象是目前创建更富有交互性客户端的Ajax Web应用程序的关键。但在实际使用此对象跨域调用Web服务时在网络连接上却会受到Web浏览器的严重限制。本文利用ASP.NET AJAX框架设计并实现了一种通用的客户端跨域调用Web服务的方法。其主要工作原理是在本地服务器上建立服务代理来转发客户端的网络请求到异域的Web服务,而且使得客户端能够传递复杂数据并且安全地跨域调用Web服务。
【Abstract】 XMLHttpRequest object(IE for XMLHTTP)is the key for creating a more interactive client especially in Ajax Web applications.However,in actual application,Cross-domain calling Web Services will be subject to the browsers severely restricted when use this object.In this paper,With the help of ASP.NET AJAX framework,make analysis and proposed a feasible and generic method:Namely through the establishment of Self-Service agent to forward a request to the Cross-domain network of Web Services.which make the client to be able to make a more secure and reliable transmission of complex data and the way in Cross-Domain Web services calling.
【Key words】 XMLHttpRequest; Service Agent; Web Services; Cross-Domain Calling;
- 【文献出处】 微计算机信息 ,Microcomputer Information , 编辑部邮箱 ,2010年12期
- 【分类号】TP311.10
- 【被引频次】3
- 【下载频次】70