package org.alfresco.repo.cmis.ws; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import org.alfresco.repo.cmis.ws.ObjectServicePort; /** * This class was generated by Apache CXF 2.0.6 * Tue May 27 14:11:14 EEST 2008 * Generated source version: 2.0.6 * */ @WebServiceClient(name = "ObjectService", targetNamespace = "http://www.cmis.org/ns/1.0", wsdlLocation = "file:/D:/work/AlfrescoCMIS-WS/WScmis/web/wsdl/cmis/ObjectService.wsdl") public class ObjectService extends Service { public final static URL WSDL_LOCATION; public final static QName SERVICE = new QName("http://www.cmis.org/ns/1.0", "ObjectService"); public final static QName ObjectServicePort = new QName("http://www.cmis.org/ns/1.0", "ObjectServicePort"); static { URL url = null; try { url = new URL("file:/D:/work/AlfrescoCMIS-WS/WScmis/web/wsdl/cmis/ObjectService.wsdl"); } catch (MalformedURLException e) { System.err.println("Can not initialize the default wsdl from file:/D:/work/AlfrescoCMIS-WS/WScmis/web/wsdl/cmis/ObjectService.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; } public ObjectService(URL wsdlLocation) { super(wsdlLocation, SERVICE); } public ObjectService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public ObjectService() { super(WSDL_LOCATION, SERVICE); } /** * * @return * returns ObjectServicePort */ @WebEndpoint(name = "ObjectServicePort") public ObjectServicePort getObjectServicePort() { return super.getPort(ObjectServicePort, ObjectServicePort.class); } }