Sometimes you get following runtime error message in your BPEL Console for the transform activity;
XPath query string returns zero node.
According to BPEL4WS spec 1.1 section 14.3, The assign activity
Please check the BPEL source at line number "211" and verify the
Possible reasons behind this problems are: some xml elements/attributes are optional or the xml data is invalid according to XML Schema.
To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain
The probable reason for getting this error is due to assigning value to an element using Assign activity just after the Transform activity, for which the same element is not mapped in transformation. Assign activity attempts to update an element not being transformed in Transform (the element without any value).
Following steps should be done to overcome this problem:
1) Goto the transfomation mapper file
2) Right-click on the element that the Assign activity in going to use for assigning value in the next step
3) Select Set Text
4) Set any temporary value there. This will be overwritten by the Assign activity in the next step anyways.