本文整理了Java中org.apache.axis.client.Call.getOperationName()
方法的一些代码示例,展示了Call.getOperationName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.getOperationName()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:getOperationName
[英]Returns the operation name associated with this Call object.
[中]返回与此调用对象关联的操作名。
代码示例来源:origin: axis/axis
/**
* Constructor AsyncResult
*
* @param ac
* @param opName
* @param params
*/
public AsyncResult(AsyncCall ac, QName opName, Object[] params) {
this.ac = ac;
this.opName = opName;
this.params = params;
if (opName == null) {
this.opName = ac.getCall().getOperationName();
}
thread = new Thread(this);
thread.setDaemon(true);
thread.start();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Constructor AsyncResult
*
* @param ac
* @param opName
* @param params
*/
public AsyncResult(AsyncCall ac, QName opName, Object[] params) {
this.ac = ac;
this.opName = opName;
this.params = params;
if (opName == null) {
this.opName = ac.getCall().getOperationName();
}
thread = new Thread(this);
thread.setDaemon(true);
thread.start();
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Constructor AsyncResult
*
* @param ac
* @param opName
* @param params
*/
public AsyncResult(AsyncCall ac, QName opName, Object[] params) {
this.ac = ac;
this.opName = opName;
this.params = params;
if (opName == null) {
this.opName = ac.getCall().getOperationName();
}
thread = new Thread(this);
thread.setDaemon(true);
thread.start();
}
代码示例来源:origin: net.sf.taverna.t2.activities/biomoby-activity-ui
private String doCall(String method, Object[] parameters)
throws MobyException {
Call call = null;
try {
Service service = new Service();
call = (Call) service.createCall();
call.setTargetEndpointAddress(REGISTRY_URL);
call.setTimeout(new Integer(0));
call.setSOAPActionURI(REGISTRY_URI + "#" + method);
return resultToString(call.invoke(REGISTRY_URI, method, parameters));
} catch (AxisFault e) {
throw new MobyException(REGISTRY_URL.toString()
+ (call == null ? "" : call.getOperationName()), e);
} catch (Exception e) {
throw new MobyException(e.toString(), e);
}
}
代码示例来源:origin: com.google.api-ads/ads-lib-axis
MessageContext messageContext = stub._getCall().getMessageContext();
RequestInfo.Builder requestInfoBuilder = new RequestInfo.Builder()
.withMethodName(stub._getCall().getOperationName().getLocalPart())
.withServiceName(stub._getService().getServiceName().getLocalPart())
.withUrl(stub._getCall().getTargetEndpointAddress());
代码示例来源:origin: googleads/googleads-java-lib
MessageContext messageContext = stub._getCall().getMessageContext();
RequestInfo.Builder requestInfoBuilder = new RequestInfo.Builder()
.withMethodName(stub._getCall().getOperationName().getLocalPart())
.withServiceName(stub._getService().getServiceName().getLocalPart())
.withUrl(stub._getCall().getTargetEndpointAddress());
内容来源于网络,如有侵权,请联系作者删除!