I am new to bpel and I am just testing If-else. The bpel file that was created using eclipse is: IfElseSample.bpel
It was successfully deployed without errors, but when I try to test it using simple code, for example:
try { tps.bpel.ifelse.IfElseSample_Service service = new tps.bpel.ifelse.IfElseSample_Service(); tps.bpel.ifelse.IfElseSample port = service.getIfElseSamplePort(); tps.bpel.ifelse.IfElseSampleRequest payload = new tps.bpel.ifelse.IfElseSampleRequest(); payload.setInput("John"); tps.bpel.ifelse.IfElseSampleResponse result = port.process(payload); //Exception occur here System.out.println("Result = "+result); } catch (Exception ex) { System.out.println("Exception=> "+ex); }
I got an exception error:
javax.xml.ws.soap.SOAPFaultException: axis2ns6575: selectionFailure
Also presented here is my eclipse project . and I use:
- apache cat 7.0.23
- Apache Ode of War 1.3.5
- Eclipse Java EE IDE for web developers. Version: Indigo Service Release 1
Thanks.
source share