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