Hello!I deploy a simple asycrhonous BPEL process in Apache ODE , I invoke the web service which is automatically generated by the BPel process with below statement : String endpoints="http://localhost:8080/ode/processes/bpel/CalcServicePort?wsdl"; Client client=new Client(new URL(endpoints)); Object[] res=client.invoke("process",new Object[]{"add",new Integer(3),new Integer(4)}); System.out.println("result="+(Integer)res[0]); But I get an error: org.codehaus.xfire.fault.XFireFault: axis2ns1:selectionFailure at org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31) at org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28) at org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111) at org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Client.onReceive(Client.java:406) at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139) at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48) at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114) at org.codehaus.xfire.client.Client.invoke(Client.java:336) at org.codehaus.xfire.client.Client.invoke(Client.java:368) at bpel.test.main(test.java:26) the soap message : <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope mlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring xmlns:axis2ns1="http://docs.oasis-pen.org/wsbpel/2.0/process/executable"> axis2ns1:selectionFailure </faultstring> <detail /> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> I send in attach all the files used to deploy, this bpel can be invoked through Myeclipse web services browser but don't sucess with my method which invoke this bpel process from java. anyone could help me . thanks!
http://old.nabble.com/file/p28704468/BPEL_Add.rar BPEL_Add.rar -- View this message in context: http://old.nabble.com/HELP-selectionFailure-invoking-the-BPEL-process-from-java-tp28704468p28704468.html Sent from the Apache Ode User mailing list archive at Nabble.com.
