package model; /** * Please modify this class to meet your needs * This class is not complete */ import java.io.File; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.7.7 * 2013-10-29T18:46:15.931+01:00 * Generated source version: 2.7.7 * */ public final class ServiceImpl_ServiceImplPort_Client { private static final QName SERVICE_NAME = new QName("http://model/", "ServiceImplService"); private ServiceImpl_ServiceImplPort_Client() { } public static void main(String args[]) throws java.lang.Exception { URL wsdlURL = ServiceImplService.WSDL_LOCATION; if (args.length > 0 && args[0] != null && !"".equals(args[0])) { File wsdlFile = new File(args[0]); try { if (wsdlFile.exists()) { wsdlURL = wsdlFile.toURI().toURL(); } else { wsdlURL = new URL(args[0]); } } catch (MalformedURLException e) { e.printStackTrace(); } } ServiceImplService ss = new ServiceImplService(wsdlURL, SERVICE_NAME); ServiceImpl port = ss.getServiceImplPort(); { System.out.println("Invoking op..."); model.Personne substituedValue = new model.Etudiant(); substituedValue.setNom("Terieur"); substituedValue.setPrenom("Alex"); java.lang.String _op__return = port.op(substituedValue); System.out.println("op.result=" + _op__return); } System.exit(0); } }