在第 10 课之后已为 IYahooLocalService.egl 完成的代码

以下代码是完成第 10 课之后 IYahooLocalService.egl 文件中的文本。
package interfaces;

import services.ResultSet;

interface YahooLocalService

function getSearchResults(appId string in, zipCode string in) returns(ResultSet)
   {@GetRest{
      uriTemplate = 

         // ensure that the value of uriTemplate is on one line, without spaces
         "http://local.yahooapis.com/LocalSearchService/V3/localSearch?
         appid={appId}&query=mortgage&zip={zipcode}&results=10",

      responseFormat = XML}};
end

反馈