/* * */ 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 javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 * Fri Sep 05 13:44:59 EEST 2008 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "PolicyService", wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/PolicyService.wsdl", targetNamespace = "http://www.cmis.org/2008/05") public class PolicyService extends Service { public final static URL WSDL_LOCATION; public final static QName SERVICE = new QName("http://www.cmis.org/2008/05", "PolicyService"); public final static QName PolicyServicePort = new QName("http://www.cmis.org/2008/05", "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); } /** * * @param features * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. * @return * returns PolicyServicePort */ @WebEndpoint(name = "PolicyServicePort") public PolicyServicePort getPolicyServicePort(WebServiceFeature... features) { return super.getPort(PolicyServicePort, PolicyServicePort.class, features); } }