Example 2: Stock quote scraper.
例子2:搜集股票价格的scraper。
An extended stock quote service, version one.
一个扩展的股票行情服务,版本1。
Example 3: Communicating stock quote scraper.
例子3:与股票价格scraper通信。
The question is how do you obtain this stock quote information?
问题是如何获得相关的股票报价信息?
This service provides basic stock quote information to consumers.
该服务可为使用者提供基本的股票报价信息。
For a given stock number, a corresponding stock quote is returned.
对于一个给定的股票编号,将返回对应的股票报价。
Finance Web site and to get the requested stock quote information.
FinanceWeb站点并获得所需的股票报价信息。
Query requires real-time data, such as stock quote, on-hand inventory.
查询需要实时数据,例如股票报价、现有存货目录。
SQS.wsdl — WSDL service interface description for a stock quote service.
wsdl—股票报价服务的wsdl服务接口描述。
By multiplying the two values, the service calculates the stock quote in yen.
通过将两个值相乘,服务可以计算以日元计价的股票报价。
These examples use three implementations of the ubiquitous stock quote service.
这些示例运用了普遍存在的股票报价服务的三个实现。
Next, you find the token that corresponds to your stock quote and return it as a float.
接着,查找股票报价所对应的记号并将它作为float值返回。
SQS-interface.wsdl -- WSDL service implementation description for a stock quote service
SQS-interface.wsdl ―股票报价服务的 WSDL 服务实现描述
Specifically, you built a stock quote Web service whose implementation accesses the Yahoo!
特别地,我们构建了股票报价Web服务,它的实现将访问Yahoo !
Later, we show you how StockBot leverages this method to hit your stock quote Web service.
稍后,将展示StockBot如何使用该方法找到股票报价Web服务。
To start the scenario, first create the Web service, which is a sample stock quote service.
要启动该场景,首先应创建Web服务,这是一个股票报价服务示例。
A simple but complete example of a SOAP request for obtaining a stock quote is shown in Listing 1.
清单1中显示了一个SOAP请求获取股票报价的简单而完整的示例。
You must deploy the stock quote service and the interceptor on both the client and the server side.
您必须在客户机端和服务器端部署股票报价服务和拦截器。
Next, the client gets a representation for the stock quote service defined by the incoming WSDL (arg [0]).
接下来,客户机获取传入的WSDL (arg[0])所定义的股票报价服务的一个表示。
Figure 8 shows the message queue approach applied to service invocation, specifically our stock quote service.
图8显示了应用到服务调用的消息队列方法,其中的细节以我们的股票报价服务为例。
As mentioned previously, we are building a bot that provides stock quote information, hence the name StockBot.
如前所述,我们正在构建用于提供股票报价信息的机器人,所以将其命名为StockBot。
It contains a component definition for the MyValueComponent, which contains a reference to a stock quote service.
其中包含MyValueComponent的组件定义,其中有对一个股票报价服务的引用。
One piece of information is the stock quote, which either comes out of the cache or is retrieved from the backend.
其中的一条信息就是股票报价,此信息要么从缓存中获得,要么从后端系统检索获得。
An example of using the stock quote service via a stub generated by WSIF's port type compiler is shown in Listing 5.
通过由WSIF的端口类型编译器生成的存根使用股票报价服务的示例如清单5所示。
For the purposes of discussion, I'll use the ubiquitous stock quote program, the "Hello World" example of Web services.
为了进行讨论,我将使用很常见的股票报价程序—Web服务的“Hello World”示例。
To use the stock quote scraper, I simply invoke the script with the stock symbol of interest, as shown in Listing 4.
要使用股票价格scraper,只需使用感兴趣的那个股票的符号来调用这个脚本即可,如清单4所示。
Task 5: Create a PHP code module that will contain the Web service SOAP client code for a remote stock quote Web service.
任务5:创建一个PHP代码模块,它包含针对一个远程股票报价Web服务的Web服务SOAP客户机代码。
You may remember the stock quote example above referenced images, but did you notice that the tags looked a little strange?
请您回顾上面股票报价的例子所引用的图片,有没有注意到标签看上去有些特别?
This stock quote service implementation returns unique values for the symbols XXX and YYY, and returns zero for anything else.
这个股票报价服务实现为符号xxx和yyy返回唯一的值,对别的符号则返回零。
This web service takes as input a stock symbol (for example, IBM or YHOO) and returns a time-delayed stock quote in US dollars.
此Web服务将股票代号(如IBM或YHOO)作为输入,将返回一个有时间延迟的股票报价(以美元计价)。
应用推荐