Question

I have developed a very simple BPEL process. It consist of receiveIinput, assign and replyoutput. When i test this process through web services explorer or SOAP UI, i always get the below error.

I put deploy.xml,.bpel and ...Artifacts.wsdl file in ode\WEB-INF\processes\hellobpel folder.

- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
- <soapenv:Body>
- <soapenv:Fault>
  <faultcode>soapenv:Server</faultcode>
  <faultstring xmlns:axis2ns122="http://docs.oasis-open.org/wsbpel/2.0/process/executable">axis2ns122:selectionFailure</faultstring>
  <detail />
  </soapenv:Fault>
  </soapenv:Body>
  </soapenv:Envelope>
Was it helpful?

Solution

Copied from the Apache ODE FAQ:

Q. My process fails with a selectionFailure; What can I do?

A. BPEL expects a single element to be selected when evaluating and expressions, and a selectionFailure fault is thrown if zero or more than one element are selected.

So I guess that the output variable is not initialized and you point to an element in the to-expression that is not (yet) existing.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top