Using E4X to write simple choreography services
使用E4X编写简单编排服务
Namespaces confuse language extensions like E4X.
命名空间也会使一些语言扩展变复杂,如e4x。
You can use E4X very easily to call web services in a browser.
您可以很容易地在浏览器中使用E4X来调用Web服务。
Firefox 1.5 supports E4X, and I'll cover it in a future article.
Firefox 1.5支持E4X,我将在以后的文章中对它进行介绍。
This enables easy access and transformation of messages using E4X.
这使得可以方便地使用E4X访问和转换消息。
So there are benefits to embedding E4X in a web service container.
所以将E4X嵌入到一个Web服务容器中非常有利。
The E4X provider USES the documentation element to store the script.
E4X提供者使用documentation元素来存储脚本。
Part 1 shows you how to use E4X for implementing Web service clients.
第1部分展示如何使用E4X来实现Web服务客户机。
With E4X, you can select a node or nodes using filters, as in Listing 5.
通过E4X,可以用过滤器选择一个或多个节点,见清单5。
In the next paper, we will show you how to provide web services using E4X.
在下一篇文章中,我们将向您展示如何使用E4X来提供Web服务。
First, we learned how to use E4X itself and did some simple XML manipulation.
首先,我们学习了如何使用E4X及一些简单的xml操作。
One significant benefit that E4X has is that it fully supports XML, including ordering.
E4X所具有的一个明显的优点是它完全支持XML,包括排序功能。
Flickr will give you this data in XML, and you will process this XML using E4X on the server.
Flickr将会以XML给出这些数据,而在服务器上使用E4 X处理此xml。
The only parameter that the E4X provider supports is type, which can either be body or envelope.
这里E4X提供者支持的唯一参数是type,它的值可以是body或是envelope。
Well, if you have used those libraries, prepare for a big change -- E4X is much simpler and easier.
这样的话,如果您已经使用了那些库文件,那么请做好进行重要变动的准备——E4X 会比它们更简单和容易。
Part 2 demonstrates how E4X scripts can be used to implement Web services under Axis using an E4XProvider.
第2部分演示e4 x脚本如何用来实现使用E4XProvider的Axis下的Web服务。
We created a simple helper function to support using the XMLHttpRequest object to invoke services using E4X.
我们创建了一个简单的辅助函数,以支持使用XMLHttpRequest对象来调用使用E4X 的服务。
Before we look at examples, a word on trying this out: E4X is available in two implementations at the moment.
在我们查看样本实例之前,对该试验需要注意:此时e4 X有两种可用的实现方式。
We have successfully used E4X to invoke web services, and now we would like to provide web services using E4X.
我们已经成功的使用E4 X调用Web服务,现在我们要用E4X提供Web服务。
Of course, writing WS-Security in E4X, while possible, would probably not be much fun (we didn't try it yet!).
当然,可能的情况下在 E4X 中使用 Web 服务安全,可能不是那么有趣(我们还没有试过!)
Then the element defines the service name and the provider type, E4X, which is provided by our new E4XProvider.
元素定义了服务名称和提供者类型:E4XProvider所提供的E4X。
E4X is probably used most often as a way to parse XML into ECMAScript objects that can be very easily manipulated.
E4X最主要的应用可能是把XML解析成易于操纵的ECMAScript对象。
We moved on to the server side, and, with the help of a simple Axis provider, started to create new web services using E4X.
我们还讲述了服务器端,简单的Axis提供者,开始使用E4 x创建一个新的Web服务。
In this article, you learned how to use E4X to implement a bubble sorting routine in the form of a game of Twenty Questions.
在本文中,您学习了如何使用e4x以twenty Questions游戏的形式实现冒泡排序例程。
This scripting language supports XML data through a group of classes that adhere to the ECMAScript for XML (E4X) specification.
该脚本语言通过一组遵循ecmascriptforXML (E4X)规范的类支持XML数据。
Although there are risks normally, the E4X provider makes it very easy to deploy new scripts that might be used to write attacks.
尽管这样还是有一定的风险,因为E4X提供者可以轻易的部署新脚本(甚至编写包含攻击型的代码)。
In the sample download you can find a simple HTML page that USES E4X, so it requires the latest developer version of Mozilla to run.
在示例下载中,您可以找到一个简单的html页面,该页面使用E4X,因此它需要使用最新版本的Mozilla才能运行。
The E4X provider requires you to update the Axis classpath with E4XProvider.jar (available below), as well as rhino.jar and xbean.jar.
E4X提供者要求您使用 E4XProvider.jar(下面会用到)来更新Axis 类路径,除此之外还要包含 rhino.jar和 xbean.jar。
In the second paper, we will show you how you can use E4X inside a server by embedding Rhino inside the Apache Axis web services engine.
在第二篇文章中,我们将向您展示如何通过将Rhino嵌入到ApacheAxisWeb服务引擎中来使用服务器内部的E4X。
In the second paper, we will show you how you can use E4X inside a server by embedding Rhino inside the Apache Axis web services engine.
在第二篇文章中,我们将向您展示如何通过将Rhino嵌入到ApacheAxisWeb服务引擎中来使用服务器内部的E4X。
应用推荐