import Extract.*; /* * for java use the following command to generate the java files * * java org.apache.axis.wsdl.WSDL2Java -pExtract http://joea:8080/mpower/services/MsiAppExtractor?wsdl * * then execute * javac Extract/*.java * * next * javac lessee.java * * then to run the program type ( make sure . is in your CLASSPATH environment variable ) * java lessee */ public class lessee { public static void main(String args[]) { try { MsiAppExtractorInterfaceServiceLocator loc = new MsiAppExtractorInterfaceServiceLocator(); MsiAppExtractorInterface iface = loc.getMsiAppExtractor (); // 79 is a lessee number from ral les_s // if you do not have this lessee number in // your database find one from the ral and // replace this number System.out.println(iface.extractLessee("79")); } catch (Exception e) { System.out.println(e.toString()); } } }