mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
17102: Add Date svn:keyword 17103: - mask out cmis-tck-ws build/classes folder, fix JRE dependency in cmis-tck-ws .classpath 17106: MOB-1330: Upgrade Web Services Repository to 0.7. 17117: Now moved to Chemistry. 17120: CMIS Update to v1.0 Committee Draft 04 17123: Checkin mistake. 17129: Updated Chemistry AtomPub TCK with appropriate UTF-8 encoding. 17138: Fix reference to CMIS change list in CMIS Front Page. 17142: Move all CMIS web scripts into same package. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78 lines
2.3 KiB
Java
Executable File
78 lines
2.3 KiB
Java
Executable File
|
|
/*
|
|
*
|
|
*/
|
|
|
|
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 Oct 23 11:53:52 BST 2009
|
|
* Generated source version: 2.1.2
|
|
*
|
|
*/
|
|
|
|
|
|
@WebServiceClient(name = "PolicyService",
|
|
wsdlLocation = "file:CMISWS-Service.wsdl",
|
|
targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/")
|
|
public class PolicyService extends Service {
|
|
|
|
public final static URL WSDL_LOCATION;
|
|
public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "PolicyService");
|
|
public final static QName PolicyServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "PolicyServicePort");
|
|
static {
|
|
URL url = null;
|
|
try {
|
|
url = new URL("file:CMISWS-Service.wsdl");
|
|
} catch (MalformedURLException e) {
|
|
System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.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 <code>features</code> parameter will have their default values.
|
|
* @return
|
|
* returns PolicyServicePort
|
|
*/
|
|
@WebEndpoint(name = "PolicyServicePort")
|
|
public PolicyServicePort getPolicyServicePort(WebServiceFeature... features) {
|
|
return super.getPort(PolicyServicePort, PolicyServicePort.class, features);
|
|
}
|
|
|
|
}
|