rendered paste bodypackage inf4375.tp2.uqam.qc;
import java.net.MalformedURLException;
import org.codehaus.xfire.client.XFireProxyFactory;
import org.codehaus.xfire.service.Service;
import org.codehaus.xfire.service.binding.ObjectServiceFactory;
public class gererClients {
public static void main() throws MalformedURLException {
//String ws_url = "http://fxg.homelinux.org/ProjetWebCDDB/serices/cddb";
String ws_url = "http://localhost:8080/tp2XFire/services/Client";
String ns_uri = "http://inf4375.tp2.uqam.qc/Client";
Service serviceModel = new ObjectServiceFactory().create(iClient.class, null, ns_uri, null);
XFireProxyFactory serviceFactory = new XFireProxyFactory();
Client Client = (Client) serviceFactory.create(serviceModel, ws_url);
String moo = Client.getNom();
System.out.println("wtf " + moo);
}
}