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

import org.apache.axis.client.ServiceFactory;

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

	public static void main(String[] args) {
		try {
		CountryServiceLocator loc = new CountryServiceLocator();
		//CountryServiceLocator loc = (CountryServiceLocator) ServiceFactory.newInstance().loadService(CountryServiceLocator.class);
		Country country = loc.getCountry();
		System.out.println("name="+country.getCountryName("FR"));
		}
		catch (Exception ex){
			ex.printStackTrace();
		}
	}
}
