/*
 * Created on 25 nov. 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package localhost.Axis1_2.HelloWorld_jws;

import javax.xml.rpc.ServiceFactory;

import de.jacomac.sayings.ArrayOfLanguageType;
import de.jacomac.sayings.LanguageType;
import de.jacomac.sayings.Service;
import de.jacomac.sayings.ServiceLocator;

/**
 * @author Xavier
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class TestStatic {

	public static void main(String[] args) {
		try {
			//ServiceLocator loc = new ServiceLocator();
			HelloWorldServiceLocator loc = (HelloWorldServiceLocator) ServiceFactory.newInstance().loadService(HelloWorldService.class);
			HelloWorld wd = loc.getHelloWorld();
			wd.sayHello();
			}
			catch (Exception ex) {
				ex.printStackTrace();
			}
	}
}
