// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import com.imacination.webservices.distance.Distance_jws.*;

public class Test {
    public static void main(String[] args) throws Exception {
        DistanceServiceLocator dsl = new DistanceServiceLocator();
        Distance d = dsl.getDistance();
        System.out.println(d.getCity("02921"));
        System.out.println(d.getState("02921"));
    }
}
