Second, a reference to a PortletService is obtained (in particular, this example references a WeatherService object).
第二件事是获取对PortletService的引用(具体到这个示例就是引用WeatherService对象)。
With the WeatherService and its asynchronous interface in place, I can now modify the Weather Reporter client to invoke the service and handle its response.
有了WeatherService和它的异步接口之后,现在就可以修改WeatherReporter客户机,从而调用服务并处理服务器响应。
The application also provides simple APIs into Yahoo!'s map and weather Web services with the application-scoped mapService and weatherService managed beans, respectively.
应用程序还分别使用应用程序范围内的mapService和weatherService托管 beans为Yahoo! 的map 和weatherWeb服务提供了简单的API。
Consuming a Web service - This section implements an application that consumes a Web service in each development environment, using actual StockNews and WeatherService Web services as examples.
消费Web服务?这部分在每个开发环境中实现一个消费web服务的应用程序,用实际的StockNews和WeatherService Web服务作示例。
Consuming a Web service - This section implements an application that consumes a Web service in each development environment, using actual StockNews and WeatherService Web services as examples.
消费Web服务?这部分在每个开发环境中实现一个消费web服务的应用程序,用实际的StockNews和WeatherService Web服务作示例。
应用推荐