org.apache.axis.client.Call.getOperation()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(151)

本文整理了Java中org.apache.axis.client.Call.getOperation()方法的一些代码示例,展示了Call.getOperation()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.getOperation()方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:getOperation

Call.getOperation介绍

[英]Returns the operation name associated with this Call object.
[中]返回与此调用对象关联的操作名。

代码示例

代码示例来源:origin: axis/axis

throws JavaUtils.HolderException
OperationDesc operationDesc = call.getOperation();
if (operationDesc == null)

代码示例来源:origin: org.apache.axis/axis

throws JavaUtils.HolderException
OperationDesc operationDesc = call.getOperation();
if (operationDesc == null)

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

throws JavaUtils.HolderException
OperationDesc operationDesc = call.getOperation();
if (operationDesc == null)

代码示例来源: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()));
    }
  }
}

相关文章