然后创建了一个天气服务对象。
我所做的第一个更新是添加include指令以引用天气服务模块。
The first update I made was to add the include directive to reference the weather services module.
这些免费的预报为许多无法自行承担天气服务的国家提供了便利。
The reports are free and are helpful for many countries that cannot afford their own weather service.
为了说明WSTK如何允许从一个服务生成WSDL,我将使用在清单4中的天气服务。
To illustrate how WSTK allows to generate WSDL from a service, I'll use the weather service in Listing 4.
在图5中,portlet从天气服务中动态检索指定的邮政编码所代表的地区的天气情况。
In Figure 5, the portlet dynamically retrieves the weather from a weather service for a specified zip code.
新版本3.0除了原有版本所提供的天气服务外,特别加入“天气警告推播”服务。
In addition to the weather services provided by the existing version, the new version 3.0 adds the special function of "weather warning push notification" service.
选择这一时间段作为参考是因为,美国国家天气服务局将30年定义为“正常参考值”或平均气温。
That period was chosen largely because the U.S. National Weather Service USES a three-decade period to define "normal" or average temperature.
在提交包含城市名称的Web表单以后,清单5使用Zend _ Rest_Client组件发送y QL查询到天气服务。
After the web form is submitted with a city name, Listing 5 USES the Zend_Rest_Client component to send a YQL query to the weather service.
假设有一个简单的天气服务,暴露出一个名为“WeatherQuery”的Web方法,这个方法返回一个对象,包含温度和气压值。
Imagine a simple Weather Service exposing a web method called "WeatherQuery" that returned the temperature and pressure wrapped in an object.
“极寒天气突袭,出于对邮政员工的安全考虑,”美国邮政周三上午宣布,“将于1月1日暂停送货服务。”
"Due to this arctic outbreak and concerns for the safety of USPS employees," USPS announced Wednesday morning, "the Postal Service is suspending delivery Jan 1st."
服务沿海地区的地方电台经常向驾驶快艇者播放天气预报。
Local radio stations serving coastal areas often broadcast forecasts for yachtsmen.
由于天气原因,邮政服务停止后,该机构的首要任务是确保员工的安全。
After mail service stops due to weather, the agency's top priority is ensuring that employees are safe.
邮政服务由于天气原因中断后,该机构的首要任务是确保员工的安全。
After mail service stops due to weather, the agency's top priority is ensuring that employees are safe.
从照片中,科学家们经常可以看出天气将如何变化,以便更好地为人们服务。
From the pictures, the scientists can often say how the weather will change so that it can work better for people.
清单2中显示了部分WSDL文档,这部分文档声明了一项获取天气信息的服务。
Part of a WSDL document is shown in Listing 2, which declares a service for getting weather information.
当时的大型互联网公司都希望成为门户——通过一个单独的网页为你提供媒体、购物机会、天气预报以及电子邮件等服务。
The big Internet companies were expected to be portals-single web pages that helped you find media, shopping opportunities and weather forecasts while offering services like E-mail.
在枣阳路西边有一家比较大的餐馆供应上海,湖南,和四川各种美食,如果天气好,还提供户外座位服务。
The larger restaurants on the street’s west side serve a mix of Shanghai, Hunan, and Sichuan cuisine and, in nice weather, offer outdoor seating.
在枣阳路西边有一家比较大的餐馆供应上海,湖南,和四川各种美食,如果天气好,还提供户外座位服务。
The larger restaurants on the street's west side serve a mix of Shanghai, Hunan, and Sichuan cuisine and, in nice weather, offer outdoor seating.
然而,新增加的收益大都来自通过手机订阅天气预报服务的用户。
The new profits, however, have mostly come from people subscribing to weather report services on their mobile phones.
所以我们没有考虑这方面的调整,如果从运行在不同时区内的服务中请求天气预报,那么可能必须这样做。
Therefore, we didn't concern ourselves with any adjustments that might be necessary for requesting a forecast from a service running in a different time zone.
迈克尔·姆舍,国家气象服务中心的天气预报员,说中心部地区将会有小雪,其他地区的小雨可能会造成一些小问题。
Michael Musher, a National Weather Service meteorologist, said light snow in the Midwest and light rain elsewhere around the country could cause only minor problems.
服务只有一项操作,就是依据请求者的选择报告天气概况和温度信息。
It has only one operation that tells the weather overview and the temperature according to the requester's explicit preference.
服务器返回格式化的天气面板HTML,因此客户端的天气面板库就很简单了。
The server returns the formatted HTML for the weather badge, so the client-side weather badge library has little work to do.
您可以转而创建一个邮政编码和天气信息的散列图,并将此信息保存到Portlet服务中。
Instead, you could create a hash map of zip code and weather information, and save that information into the portlet service.
清单7:天气Web服务的测试代码。
比方说,您可以创建这样一个Web应用程序,它能综合各种气象服务的信息来给出几个滑雪场的天气信息。
As an example, you might create a Web application that combines information on ski resorts with information about weather that is available from various weather services.
一个典型的例子就是天气预报Web服务。
一个典型的例子就是天气预报Web服务。
应用推荐