FileDocCategorySizeDatePackage
WeatherService.javaAPI DocExample598Tue Oct 09 11:03:40 BST 2001com.ecerami.soap

WeatherService.java

/*
 * Copyright (c) 2001 Ethan Cerami.  All rights reserved.
 * This code is from the book XML Web Services Essentials.
 * It is provided AS-IS, WITHOUT ANY WARRANTY either expressed or implied.
 * You may study, use, and modify it for any non-commercial purpose.
 * You may distribute it non-commercially as long as you retain this notice.
*/
package com.ecerami.soap;

/**
 * Simple Weather SOAP Service
 */
public class WeatherService {

  /**
  *  Return Current Temperature
  */
  public int getWeather (String zipcode) {
    return 65;  //  hard-coded for simplicity
  }
}