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.PolicyServicePort; /** * This class was generated by Apache CXF 2.0.6 * Tue Jul 29 18:22:29 EEST 2008 * Generated source version: 2.0.6 * */ @WebServiceClient(name = "PolicyService", targetNamespace = "http://www.cmis.org/ns/1.0", wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/PolicyService.wsdl") public class PolicyService extends Service { public final static URL WSDL_LOCATION; public final static QName SERVICE = new QName("http://www.cmis.org/ns/1.0", "PolicyService"); public final static QName PolicyServicePort = new QName("http://www.cmis.org/ns/1.0", "PolicyServicePort"); static { URL url = null; try { url = new URL("file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/PolicyService.wsdl"); } catch (MalformedURLException e) { System.err.println("Can not initialize the default wsdl from file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/PolicyService.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; } public PolicyService(URL wsdlLocation) { super(wsdlLocation, SERVICE); } public PolicyService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public PolicyService() { super(WSDL_LOCATION, SERVICE); } /** * * @return * returns PolicyServicePort */ @WebEndpoint(name = "PolicyServicePort") public PolicyServicePort getPolicyServicePort() { return super.getPort(PolicyServicePort, PolicyServicePort.class); } }