📄 xmethodsfilesystemservicelocator.java
字号:
/**
* XMethodsFilesystemServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis Wsdl2java emitter.
*/
package net.xmethods.www;
public class XMethodsFilesystemServiceLocator extends org.apache.axis.client.Service implements net.xmethods.www.XMethodsFilesystemService {
/**
* Provides read, write, delete and list access to XFS
*/
// Use to get a proxy class for XMethodsFilesystemPort
private final java.lang.String XMethodsFilesystemPort_address = "http://services.xmethods.net:80/soap/servlet/rpcrouter";
public String getXMethodsFilesystemPortAddress() {
return XMethodsFilesystemPort_address;
}
public net.xmethods.www.XMethodsFilesystemPortType getXMethodsFilesystemPort() throws javax.xml.rpc.ServiceException {
java.net.URL endpoint;
try {
endpoint = new java.net.URL(XMethodsFilesystemPort_address);
}
catch (java.net.MalformedURLException e) {
return null; // unlikely as URL was validated in WSDL2Java
}
return getXMethodsFilesystemPort(endpoint);
}
public net.xmethods.www.XMethodsFilesystemPortType getXMethodsFilesystemPort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
try {
return new net.xmethods.www.XMethodsFilesystemBindingStub(portAddress, this);
}
catch (org.apache.axis.AxisFault e) {
return null; // ???
}
}
/**
* For the given interface, get the stub implementation.
* If this service has no port for the given interface,
* then ServiceException is thrown.
*/
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
try {
if (net.xmethods.www.XMethodsFilesystemPortType.class.isAssignableFrom(serviceEndpointInterface)) {
return new net.xmethods.www.XMethodsFilesystemBindingStub(new java.net.URL(XMethodsFilesystemPort_address), this);
}
}
catch (Throwable t) {
throw new javax.xml.rpc.ServiceException(t);
}
throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -