1.

Explain Bpelx:insertbefore Extension In An Assign Activity?

Answer»

The from-spec query within bpelx:insertBefore yields zero or more NODES. The node LIST is appended as child nodes to the target node specified by the to-spec query.

The to-spec query of the insertBefore operation points to one or more single L-Value nodes. If more than one node is returned, the first node is USED as the reference node. The reference node must be an element node. The parent of the reference node must also be an element node. Otherwise, a bpel:selectionFailure fault is generated. The node list generated by the from-spec query selection is inserted before the reference node. The to-spec query cannot REFER to a partner link.

The following example shows the syntax before the EXECUTION of . The value of addrVar is:

CA
94065
After the execution of the following syntax in the BPEL process file:
Redwood Shore> 
The value of addrVar now becomes:
Redwood Shore
CA
94065

The from-spec query within bpelx:insertBefore yields zero or more nodes. The node list is appended as child nodes to the target node specified by the to-spec query.

The to-spec query of the insertBefore operation points to one or more single L-Value nodes. If more than one node is returned, the first node is used as the reference node. The reference node must be an element node. The parent of the reference node must also be an element node. Otherwise, a bpel:selectionFailure fault is generated. The node list generated by the from-spec query selection is inserted before the reference node. The to-spec query cannot refer to a partner link.

The following example shows the syntax before the execution of . The value of addrVar is:

CA
94065
After the execution of the following syntax in the BPEL process file:
Redwood Shore> 
The value of addrVar now becomes:
Redwood Shore
CA
94065



Discussion

No Comment Found