/**
* HolleWrodWSDDSoapBindingStub.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package webService.axis.wsdd;
public class HolleWrodWSDDSoapBindingStub extends org.apache.axis.client.Stub implements webService.axis.wsdd.HolleWrodWSDD {
private java.util.Vector cachedSerClasses = new java.util.Vector();
private java.util.Vector cachedSerQNames = new java.util.Vector();
private java.util.Vector cachedSerFactories = new java.util.Vector();
private java.util.Vector cachedDeserFactories = new java.util.Vector();
static org.apache.axis.description.OperationDesc [] _operations;
static {
_operations = new org.apache.axis.description.OperationDesc[2];
_initOperationDesc1();
}
private static void _initOperationDesc1(){
org.apache.axis.description.OperationDesc oper;
org.apache.axis.description.ParameterDesc param;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("add");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://wsdd.axis.webService", "a"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"), float.class, false, false);
oper.addParameter(param);
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://wsdd.axis.webService", "b"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"), float.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "float"));
oper.setReturnClass(float.class);
oper.setReturnQName(new javax.xml.namespace.QName("http://wsdd.axis.webService", "addReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
_operations[0] = oper;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("hello");
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://wsdd.axis.webService", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
oper.setReturnClass(java.lang.String.class);
oper.setReturnQName(new javax.xml.namespace.QName("http://wsdd.axis.webService", "helloReturn"));
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);
oper.setUse(org.apache.axis.constants.Use.LITERAL);
_operations[1] = oper;
}
public HolleWrodWSDDSoapBindingStub() throws org.apache.axis.AxisFault {
this(null);
}
public HolleWrodWSDDSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
this(service);
super.cachedEndpoint = endpointURL;
}
public HolleWrodWSDDSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
if (service == null) {
super.service = new org.apache.axis.client.Service();
} else {
super.service = service;
}
((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
}
protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
try {
org.apache.axis.client.Call _call = super._createCall();
if (super.maintainSessionSet) {
_call.setMaintainSession(super.maintainSession);
}
if (super.cachedUsername != null) {
_call.setUsername(super.cachedUsername);
}
if (super.cachedPassword != null) {
_call.setPassword(super.cachedPassword);
}
if (super.cachedEndpoint != null) {
_call.setTargetEndpointAddress(super.cachedEndpoint);
}
if (super.cachedTimeout != null) {
_call.setTimeout(super.cachedTimeout);
}
if (super.cachedPortName != null) {
_call.setPortName(super.cachedPortName);
}
java.util.Enumeration keys = super.cachedProperties.keys();
while (keys.hasMoreElements()) {
java.lang.String key = (java.lang.String) keys.nextElement();
_call.setProperty(key, super.cachedProperties.get(key));
}
return _call;
}
catch (java.lang.Throwable _t) {
throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
}
}
public float add(float a, float b) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[0]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://wsdd.axis.webService", "add"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Float(a), new java.lang.Float(b)});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return ((java.lang.Float) _resp).floatValue();
} catch (java.lang.Exception _exception) {
return ((java.lang.Float) org.apache.axis.utils.JavaUtils.convert(_resp, float.class)).floatValue();
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
throw axisFaultException;
}
}
public java.lang.String hello(java.lang.String name) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[1]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://wsdd.axis.webService", "hello"));
setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {name});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
try {
return (java.lang.String) _resp;
} catch (java.lang.Exception _exception) {
return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
根据wsdl 用ant生成jar和客服端java代码 (109个子文件)
ant 11KB
antRun 861B
msgService.xml.bak 2KB
ant.bat 7KB
antRun.bat 2KB
lcp.bat 1KB
build_jdk1.6_was.bat 503B
HolleWrodWSDDSoapBindingStub.class 5KB
HolleWrodWSDDServiceLocator.class 3KB
HolleWrodWSDDService.class 379B
HolleWrodWSDD.class 251B
envset.cmd 4KB
antenv.cmd 3KB
ant.cmd 3KB
runrc.cmd 2KB
CONTRIBUTORS 6KB
INSTALL 126B
ant.jar 1.95MB
axis.jar 1.53MB
javaee.jar 1.06MB
log4j-1.2.8.jar 344KB
wsdl4j-1.5.1.jar 124KB
ant-junit.jar 118KB
ant-commons-net.jar 89KB
commons-discovery-0.2.jar 70KB
ant-jsch.jar 49KB
commons-logging-1.0.4.jar 37KB
axis-ant.jar 32KB
jaxrpc.jar 30KB
ant-jai.jar 28KB
ant-testutil.jar 26KB
ant-bootstrap.jar 21KB
saaj.jar 19KB
ant-launcher.jar 18KB
ant-netrexx.jar 16KB
ant-apache-bcel.jar 15KB
ant-jdepend.jar 14KB
ant-javamail.jar 14KB
ant-swing.jar 13KB
ant-junit4.jar 13KB
ant-jmf.jar 12KB
ant-antlr.jar 11KB
ant-apache-bsf.jar 10KB
ant-commons-logging.jar 10KB
ant-apache-oro.jar 10KB
ant-apache-resolver.jar 9KB
ant-apache-regexp.jar 9KB
ant-apache-log4j.jar 8KB
ant-apache-xalan2.jar 8KB
HolleWrodServiceSrv_v1_0_0.jar 6KB
HolleWrodWSDDSoapBindingStub.java 8KB
HolleWrodWSDDServiceLocator.java 5KB
HolleWrodWSDDService.java 564B
HolleWrodWSDD.java 414B
KEYS 90KB
LICENSE 15KB
NOTICE 305B
runant.pl 4KB
complete-ant-cmd.pl 3KB
antRun.pl 2KB
ant.pom 9KB
ant-parent.pom 5KB
ant-junit.pom 4KB
ant-netrexx.pom 4KB
ant-apache-xalan2.pom 4KB
ant-jai.pom 3KB
ant-junit4.pom 3KB
ant-commons-net.pom 3KB
ant-javamail.pom 3KB
ant-antlr.pom 3KB
ant-apache-bsf.pom 3KB
ant-testutil.pom 3KB
ant-apache-oro.pom 3KB
ant-jsch.pom 3KB
ant-jdepend.pom 3KB
ant-commons-logging.pom 3KB
ant-apache-bcel.pom 3KB
ant-apache-resolver.pom 3KB
ant-apache-regexp.pom 3KB
ant-apache-log4j.pom 3KB
ant-jmf.pom 3KB
ant-swing.pom 3KB
ant-launcher.pom 2KB
libraries.properties 2KB
simplelog.properties 152B
runant.py 3KB
README 4KB
README 151B
WHATSNEW 232KB
contributors.xml 30KB
fetch.xml 11KB
get-m2.xml 4KB
HolleWrod.xml 2KB
patch.xml 2KB
junit-frames.xsl 37KB
mmetrics-frames.xsl 37KB
junit-frames-xalan1.xsl 28KB
junit-noframes.xsl 20KB
jdepend-frames.xsl 18KB
coverage-frames.xsl 18KB
共 109 条
- 1
- 2
资源评论
- wlk-082019-03-05相当的好用
佬油条
- 粉丝: 35
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功