Getting "Cannot find reference" in BPEL instance
When executing a BPEL process, the instance faulted with the following exception:
java.lang.RuntimeException: Cannot find reference or service named 'Touch' in composite.xml when invoking the partnerLink Touch from BPEL component 'ProcessBPEL'.
Here's the same error on the console:
Basically, I had just made a non-breaking change to the REST Adapter reference (shown as 'Touch' in the screenshot):
The code compiled and actually deployed fine, but the instance would error out.
What I ended up doing to resolve this is to delete the wire (highlighted in red in the screenshot) and connecting it again. Then I had to re-configure the Invoke activity.
That was it.