Files
alfresco-community-repo/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java
2008-09-07 13:04:45 +00:00

78 lines
2.4 KiB
Java

/*
*
*/
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:38 EEST 2008
* Generated source version: 2.1.2
*
*/
@WebServiceClient(name = "ObjectService",
wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/ObjectService.wsdl",
targetNamespace = "http://www.cmis.org/2008/05")
public class ObjectService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://www.cmis.org/2008/05", "ObjectService");
public final static QName ObjectServicePort = new QName("http://www.cmis.org/2008/05", "ObjectServicePort");
static {
URL url = null;
try {
url = new URL("file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/ObjectService.wsdl");
} catch (MalformedURLException e) {
System.err.println("Can not initialize the default wsdl from file:/D:/work/CMIS-WS/CMIS-WS/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);
}
/**
*
* @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 ObjectServicePort
*/
@WebEndpoint(name = "ObjectServicePort")
public ObjectServicePort getObjectServicePort(WebServiceFeature... features) {
return super.getPort(ObjectServicePort, ObjectServicePort.class, features);
}
}