A simpler solution is to pass all requests from xmlhttprequest through a proxy resource located on the same domain as the loaded page 一个简单的解决方案是,通过位于加载的页面所在的域中的代理资源来传递所有来自xmlhttprequest的请求。
Some piece of javascript running within the web browser creates an instance of the xmlhttprequest and a function that serves as an asynchronous callback 一些运行在web浏览器内的javascript创建了一个xmlhttprequest实例和一个用于异步回调的函数。
If the data happens to be xml, the xmlhttprequest object will automatically parse that data using the browser s built in xml processing mechanisms 如果返回的数据碰巧是xml,则xmlhttprequest对象将自动使用浏览器中内置的xml处理机制来解析该数据。
Unfortunately, it s in the details of how the xmlhttprequest object automatically parses the xml where the primary difficultly with the ajax approach comes into play 遗憾的是,使用ajax方法的主要难题在于xmlhttprequest对象自动解析xml的详细过程。
Because the web services client introduced here is based on xmlhttprequest, this restriction applies equally to the web services you will be able to invoke 因为这里介绍的web服务客户机基于xmlhttprequest,所以这种限制同样适用于您将会调用的web服务。
Then we moved on to build a simple browser interface that uses e4x and the xmlhttprequest support in mozilla to send web service requests and parse the results 然后我们讲述了使用e4x建立一个简单的浏览器介面,在mozilla中的xmlhttprequest支援用来发送web服务请求及解析结果。
In this article, brett mclaughlin shows you how to create xmlhttprequest instances in a cross-browser way, construct and send requests, and respond to the server 本文中,brettmclaughlin介绍了如何创建能够适应不同浏览器的xmlhttprequest实例,建立和发送请求,并响应服务器。
While the ws . call object is generally not much more than a thin wrapper on top of the xmlhttprequest object, it does perform a number of actions that will make your life easier 在通常情况下,ws.call对象只不过是位于xmlhttprequest对象顶层的瘦包装器(thinwrapper),该包装器能够执行许多简化处理的操作。
Thoroughly described in another recently published paper on developerworks written by philip mccarthy, xmlhttprequest is a javascript object that you can use to perform asynchronous http requests developerworks网站最近发布的另一篇由philipmccarthy撰写的的文章详细介绍了该api。xmlhttprequest是一个用于执行异步http请求的javascript对象。
Method, the ws . call object would create an underlying xmlhttprequest object, pass in the xml elements containing the soap envelope, receive and parse the response, and invoke the callback function provided 方法时,ws.call对象会创建一个基本的xmlhttprequest对象,用包含soap信封的xml元素进行传递,并接收和解析响应,然后调用提供的回调函数。