本文整理了Java中org.apache.axis.client.Call.addAttachmentPart()
方法的一些代码示例,展示了Call.addAttachmentPart()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.addAttachmentPart()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!