/* This was an example Web Service based on--if not copied word for word from-- the Dr. Dobb's Journal article about Web Services and Apache Axis. Surprisingly, this is all that is needed to write an Axis web service. */ public class TemperatureConversion { public String f2c (double f) { double ans = (f - 32.0) * 5.0 / 9.0; return ""+ans; } public String c2f (double c) { double ans = (c * 9.0 / 5.0) + 32; return ""+ans; } }