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