Hi all,
In fact, there are some bizarre errors in BPEL with apache-ode. In my
experience, almost bizarre errors concern variables.
I see there are two bizarre things in your BPEL:
<bpws:variable messageType="ns0:getSumRequest" name="aIn">
<bpws:from/>
</bpws:variable>
<bpws:variable messageType="ns0:getSumResponse" name="aOut">
<bpws:from/>
I don't understand why you declare <bpws:from /> in variable declaration
in BPEL.
In addition, to invoke a service, in the deployment file, there are some
differences. For example in two files following:
1) <?xml version="1.0" encoding="UTF-8"?>
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://www.ibm.com/wd2/ode/HelloWorld"
xmlns:wns="http://www.ibm.com/wd2/ode/HelloWorld">
<process name="pns:HelloWorld">
<active>true</active>
<provide partnerLink="client">
<service name="wns:HelloWorldService" port="HelloWorldPort"/>
</provide>
</process>
</deploy>
2)<?xml version="1.0" encoding="UTF-8"?>
<deploy xmlns="http://ode.fivesight.com/schemas/2006/06/27/dd"
xmlns:pns="http://www.tsi.enst.fr/paam"
xmlns:wns="http://www.tsi.enst.fr/paam"
xmlns:vns="http://paam">
<process name="pns:WsComposition4Elements">
<active>true</active>
<provide partnerLink="client">
<service name="wns:WsComposition4ElementsService"
port="WsComposition4ElementsPort"/>
</provide>
<invoke partnerLink="linkVideo">
<service name="vns:VideoService" port="Video"/>
</invoke>
</process>
</deploy>
You see in the second file, there is an declaration of invoking a extern
service. If you can't yet solve your BPEL. It must send all of
informations as BPEL, .wsdl, deploy.xml, etc. (to be capable to test).
> Something new in output messages:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body>
> <soapenv:Fault xmlns:soapenv="http://incubator.apache.org/ode
> "><faultcode>soapenv:Fault</faultcode><faultstring>
> Timeout or execution error when waiting for response to MEX
> {MyRoleMex#hqejbhcnp
> hr3kx3vfwim7f [Client hqejbhcnphr3kx3vfwim7e]
> calling {http://proc}NewService.operazioni(...)}
> java.util.concurrent.TimeoutException: Message exchange
> [EMAIL PROTECTED]
> out when
> waiting for a
> response!</faultstring><detail><Exception>org.apache.ode.axis2.Od
> eFault: Timeout or execution error when waiting for response to MEX
> {MyRoleMex#h
> qejbhcnphr3kx3vfwim7f [Client hqejbhcnphr3kx3vfwim7e] calling
> {http://proc}NewService.operazioni(...)}
> java.util.concurrent.TimeoutException: Message exchange
> [EMAIL PROTECTED]
> out when waiting for a response!
> at
> org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:154)
> at
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:67)
> at
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:50)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
> at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
> at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
> at java.lang.Thread.run(Unknown Source)
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>
--
NGUYEN Cong Kinh