Exception :
<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<part name="summary">
<summary>XPath query string returns zero node.
The assign activity of the to node query is returning zero node.
Either the to node data or the xpath query in the to node was invalid.
According to BPEL4WS spec 1.1 section 14.3, verify the to node value at line number 830 in the BPEL source.</summary>
</part>
</selectionFailure>
This happens when the TO/Target node that you are assigning is null.
This usually happens when the element is optional, and you assign a value when the element is not having a value. In such cases, you can use the 'ignoreMissingToData' by right clicking the individual assignment in the assign activity.
In cases where you are dealing with arrays, visit this post
<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
<part name="summary">
<summary>XPath query string returns zero node.
The assign activity of the to node query is returning zero node.
Either the to node data or the xpath query in the to node was invalid.
According to BPEL4WS spec 1.1 section 14.3, verify the to node value at line number 830 in the BPEL source.</summary>
</part>
</selectionFailure>
This happens when the TO/Target node that you are assigning is null.
This usually happens when the element is optional, and you assign a value when the element is not having a value. In such cases, you can use the 'ignoreMissingToData' by right clicking the individual assignment in the assign activity.
In cases where you are dealing with arrays, visit this post