本文整理了Java中org.apache.axis.client.Call.getOutputParams()
方法的一些代码示例,展示了Call.getOutputParams()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.getOutputParams()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:getOutputParams
[英]Get the output parameters (if any) from the last invocation. This allows named access - if you need sequential access, use getOutputValues().
[中]从上次调用中获取输出参数(如果有)。这允许命名访问-如果需要顺序访问,请使用getOutputValues()。
代码示例来源:origin: axis/axis
/**
* Copy in/out and out parameters (Holder parameters) back to proxyParams.
*
* @param proxyParams proxyParameters
*/
private void callOutputParams2proxyParams(Object[] proxyParams)
throws JavaUtils.HolderException
{
OperationDesc operationDesc = call.getOperation();
if (operationDesc == null)
{
// we don't know which parameters are IN, OUT or INOUT
// let's suppose they are all in
return;
}
Map outputParams = call.getOutputParams();
for (int i = 0; i < operationDesc.getNumParams();i++)
{
Object param = proxyParams[i];
ParameterDesc paramDesc = operationDesc.getParameter(i);
if ((paramDesc.getMode() == ParameterDesc.INOUT) ||
(paramDesc.getMode() == ParameterDesc.OUT)) {
JavaUtils.setHolderValue((Holder)param,
outputParams.get(paramDesc.getQName()));
}
}
}
代码示例来源:origin: org.apache.axis/axis
/**
* Copy in/out and out parameters (Holder parameters) back to proxyParams.
*
* @param proxyParams proxyParameters
*/
private void callOutputParams2proxyParams(Object[] proxyParams)
throws JavaUtils.HolderException
{
OperationDesc operationDesc = call.getOperation();
if (operationDesc == null)
{
// we don't know which parameters are IN, OUT or INOUT
// let's suppose they are all in
return;
}
Map outputParams = call.getOutputParams();
for (int i = 0; i < operationDesc.getNumParams();i++)
{
Object param = proxyParams[i];
ParameterDesc paramDesc = operationDesc.getParameter(i);
if ((paramDesc.getMode() == ParameterDesc.INOUT) ||
(paramDesc.getMode() == ParameterDesc.OUT)) {
JavaUtils.setHolderValue((Holder)param,
outputParams.get(paramDesc.getQName()));
}
}
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Copy in/out and out parameters (Holder parameters) back to proxyParams.
*
* @param proxyParams proxyParameters
*/
private void callOutputParams2proxyParams(Object[] proxyParams)
throws JavaUtils.HolderException
{
OperationDesc operationDesc = call.getOperation();
if (operationDesc == null)
{
// we don't know which parameters are IN, OUT or INOUT
// let's suppose they are all in
return;
}
Map outputParams = call.getOutputParams();
for (int i = 0; i < operationDesc.getNumParams();i++)
{
Object param = proxyParams[i];
ParameterDesc paramDesc = operationDesc.getParameter(i);
if ((paramDesc.getMode() == ParameterDesc.INOUT) ||
(paramDesc.getMode() == ParameterDesc.OUT)) {
JavaUtils.setHolderValue((Holder)param,
outputParams.get(paramDesc.getQName()));
}
}
}
代码示例来源:origin: org.apache.openejb/openejb-axis
} else {
stub.extractAttachments(call);
final Map outputParameters = call.getOutputParams();
putInHolders(outputParameters, objects, parameterDescs);
final Class returnType = operationInfo.getOperationDesc().getReturnClass();
内容来源于网络,如有侵权,请联系作者删除!