I'm new to bpel and i'm just testing an If-else. The bpel file that i've been created using eclipse is: IfElseSample.bpel
It successfully deployed with no errors but when I try to test it using simple code like:
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 here is all of my eclipse project. and I use:
- apache-tomcat-7.0.23
- apache-ode-war-1.3.5
- Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 1
Thanks.