BPEL中COPY的ignoreMissingFromData和keepSrcElementName两个属性

来源:互联网 发布:sem和seo忧伤 编辑:程序博客网 时间:2024/06/05 12:02

 

BPEL2.0规范中的copy节点有个属性:ignoreMissingFromData keepSrcElementName,具体表示如下:

<copy keepSrcElementName="yes|no"? ignoreMissingFromData="yes|no"?>
       
</from-spec>
       
</to-spec>
</copy>

 规范中关于ignoreMissingFromData的描述如下:

The optional ignoreMissingFromData attribute of the <copy> construct is used to specify whether a bpel:selectionFailure standard fault is suppressed as specified in section 8.4.1. Selection Result of Copy Operations. The default value of the ignoreMissingFromData is "no".

当ignoreMissingFromData属性的值被设置为“yes”的时候,不抛出bpel:selectionFailure异常。反之则抛出异常。