IBM FileNet P8, V5.2.1            

消息扩展函数

您可以使用 attachment 函数通过将 MIME 附件添加至 SOAP 消息并借助 Web Service 来发送附件字段的值(实际文档)。此函数仅在 XML 形式的 Web Service 中有用。

此函数设计为仅处理 XML 形式的调用或应答中使用的 Web Service 消息;它并不通用于工作流程定义的其他区域。
表 1. Attachment 函数及其用途的描述
函数 用途
attachment 将附件字段的内容添加至 Web Service 消息。

attachment

attachment (attachment_field_name)
例如,在 Invoke 系统函数的外发消息中,可以将由附件字段 MyAttachment 所指定文档的内容插入字符串字段中:
....
"<DataFields>"+
     "<Data1>"+ attach(MyAttachment) + "</Data1>"+
     "<Data2>"+ _string + "</Data2>"+ .....


最近一次更新时间: 2016 年 3 月
bpfe008.htm

© Copyright IBM Corporation 2016.