📄 fundpricesessionfacade_servicelocator.java
字号:
/**
* FundPriceSessionFacade_ServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.2beta3 Aug 01, 2004 (05:59:22 PDT) WSDL2Java emitter.
*/
package com.fund.fund.generated;
/**
*
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class FundPriceSessionFacade_ServiceLocator extends org.apache.axis.
client.Service implements com.fund.fund.generated.
FundPriceSessionFacade_Service {
/**
* FundPriceSessionFacade_address
*/
private java.lang.String FundPriceSessionFacade_address
= "http://127.0.0.1:7001/fund/services/FundPriceSessionFacade";
/**
*
* @return String
*/
public java.lang.String getFundPriceSessionFacadeAddress() {
return FundPriceSessionFacade_address;
}
/**
*
*/
private java.lang.String FundPriceSessionFacadeWSDDServiceName
= "FundPriceSessionFacade";
/**
*
* @return String
*/
public java.lang.String getFundPriceSessionFacadeWSDDServiceName() {
return FundPriceSessionFacadeWSDDServiceName;
}
/**
*
* @param name String
*/
public void setFundPriceSessionFacadeWSDDServiceName(
java.lang.String name) {
FundPriceSessionFacadeWSDDServiceName = name;
}
/**
*
* @return FundPriceSessionFacade_Port
* @throws javax.xml.rpc.ServiceException e
*/
public com.fund.fund.generated.FundPriceSessionFacade_Port
getFundPriceSessionFacade()
throws javax.xml.rpc.ServiceException {
java.net.URL endpoint;
try {
endpoint = new java.net.URL(FundPriceSessionFacade_address);
} catch (java.net.MalformedURLException e) {
throw new javax.xml.rpc.ServiceException(e);
}
return getFundPriceSessionFacade(endpoint);
}
/**
*
* @param portAddress URL
* @return FundPriceSessionFacade_Port
* @throws javax.xml.rpc.ServiceException e
*/
public com.fund.fund.generated.FundPriceSessionFacade_Port
getFundPriceSessionFacade(java.net.URL portAddress)
throws javax.xml.rpc.ServiceException {
try {
com.fund.fund.generated.FundPriceSessionFacadeSoapBindingStub _stub
= new
com.fund.fund.generated.
FundPriceSessionFacadeSoapBindingStub(portAddress, this);
_stub.setPortName(getFundPriceSessionFacadeWSDDServiceName());
return _stub;
} catch (org.apache.axis.AxisFault e) {
return null;
}
}
/**
*
* @param address String
*/
public void setFundPriceSessionFacadeEndpointAddress(java.lang.String
address) {
FundPriceSessionFacade_address = address;
}
/**
*
* @param serviceEndpointInterface Class
* @return Remote
* @throws javax.xml.rpc.ServiceException e
*/
public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.
xml.rpc.ServiceException {
try {
if (com.fund.fund.generated.FundPriceSessionFacade_Port.class.
isAssignableFrom(serviceEndpointInterface)) {
com.fund.fund.generated.FundPriceSessionFacadeSoapBindingStub
_stub = new com.fund.fund.generated.
FundPriceSessionFacadeSoapBindingStub(new java.
net.URL(FundPriceSessionFacade_address), this);
_stub.setPortName(getFundPriceSessionFacadeWSDDServiceName());
return _stub;
}
} catch (java.lang.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()));
}
/**
*
* @param portName QName
* @param serviceEndpointInterface Class
* @return Remote
* @throws javax.xml.rpc.ServiceException e
*/
public java.rmi.Remote getPort(javax.xml.namespace.QName portName,
Class serviceEndpointInterface) throws javax.
xml.rpc.ServiceException {
if (portName == null) {
return getPort(serviceEndpointInterface);
}
java.lang.String inputPortName = portName.getLocalPart();
if ("FundPriceSessionFacade".equals(inputPortName)) {
return getFundPriceSessionFacade();
} else {
java.rmi.Remote _stub = getPort(serviceEndpointInterface);
((org.apache.axis.client.Stub) _stub).setPortName(portName);
return _stub;
}
}
/**
*
* @return QName
*/
public javax.xml.namespace.QName getServiceName() {
return new javax.xml.namespace.QName("http://fund.fund.com",
"FundPriceSessionFacade");
}
/**
* ports
*/
private java.util.HashSet ports = null;
/**
*
* @return Iterator
*/
public java.util.Iterator getPorts() {
if (ports == null) {
ports = new java.util.HashSet();
ports.add(new javax.xml.namespace.QName("http://fund.fund.com",
"FundPriceSessionFacade"));
}
return ports.iterator();
}
/**
*
* @param portName String
* @param address String
* @throws javax.xml.rpc.ServiceException e
*/
public void setEndpointAddress(java.lang.String portName,
java.lang.String address) throws javax.xml.
rpc.ServiceException {
if ("FundPriceSessionFacade".equals(portName)) {
setFundPriceSessionFacadeEndpointAddress(address);
} else { // Unknown Port Name
throw new javax.xml.rpc.ServiceException(
" Cannot set Endpoint Address for Unknown Port" + portName);
}
}
/**
*
* @param portName QName
* @param address String
* @throws javax.xml.rpc.ServiceException e
*/
public void setEndpointAddress(javax.xml.namespace.QName portName,
java.lang.String address) throws javax.xml.
rpc.ServiceException {
setEndpointAddress(portName.getLocalPart(), address);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -