mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
59 lines
1.8 KiB
Java
59 lines
1.8 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 org.alfresco.repo.cmis.ws.ObjectServicePort;
|
|
|
|
/**
|
|
* This class was generated by Apache CXF 2.0.6
|
|
* Tue Jul 29 18:21:47 EEST 2008
|
|
* Generated source version: 2.0.6
|
|
*
|
|
*/
|
|
|
|
@WebServiceClient(name = "ObjectService", targetNamespace = "http://www.cmis.org/ns/1.0", wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/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/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);
|
|
}
|
|
|
|
}
|