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

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

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

Call.addAttachmentPart介绍

[英]This method adds an attachment.

Note: Not part of JAX-RPC specification.
[中]此方法添加附件。
注意:不是JAX-RPC规范的一部分。

代码示例

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

/**
 * copy the attachments from the stub to the call object. After doing so,
 * the local set of attachments are cleared.
 * @param call call object to configure
 * @throws AxisFault
 */
protected void setAttachments(org.apache.axis.client.Call call) throws AxisFault {
  // Set the attachments.
  Object[] attachments = getAttachments();
  for(int i=0;i<attachments.length;i++){
    call.addAttachmentPart(attachments[i]);
  }
  clearAttachments();
}

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

/**
 * copy the attachments from the stub to the call object. After doing so,
 * the local set of attachments are cleared.
 * @param call call object to configure
 * @throws AxisFault
 */
protected void setAttachments(org.apache.axis.client.Call call) throws AxisFault {
  // Set the attachments.
  Object[] attachments = getAttachments();
  for(int i=0;i<attachments.length;i++){
    call.addAttachmentPart(attachments[i]);
  }
  clearAttachments();
}

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

/**
 * copy the attachments from the stub to the call object. After doing so,
 * the local set of attachments are cleared.
 * @param call call object to configure
 * @throws AxisFault
 */
protected void setAttachments(org.apache.axis.client.Call call) throws AxisFault {
  // Set the attachments.
  Object[] attachments = getAttachments();
  for(int i=0;i<attachments.length;i++){
    call.addAttachmentPart(attachments[i]);
  }
  clearAttachments();
}

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

while (iterator.hasNext()) {
  Object attachment = iterator.next();
  call.addAttachmentPart(attachment);

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

while (iterator.hasNext()) {
  Object attachment = iterator.next();
  call.addAttachmentPart(attachment);

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

while (iterator.hasNext()) {
  Object attachment = iterator.next();
  call.addAttachmentPart(attachment);

相关文章