We are using ODE with apache ServiceMix 4. Our test example consists of
simple bpel process that invoke jax-ws web service during execution and
return result.
Ode 1.2 works fine with that. But ODE 2.0 beta not returns any response to
caller. And I see following warning in logs:
*WARNING: Received a response for unknown partner role message exchange
11ee7ee0-28f9-4250-9c6c-e9becf573f7f*
After research source codes we find following code snippet inside
org.apache.ode.jbi.OdeConsumer:
private void outResponse(final InOut jbiMex) {
PartnerRoleMessageExchange pmex = (PartnerRoleMessageExchange)
_ode._server.getMessageExchangeByForeignKey(jbiMex.getExchangeId());
if (pmex == null) {
__log.warn("Received a response for unknown partner role message
exchange " + jbiMex.getExchangeId());
return;
}
so _ode._server.getMessageExchangeByForeignKey(jbiMex.getExchangeId()
retutns NULL;
I've check _ode._server implementation class with is BpelServerImpl and find
out that getMessageExchangeByForeignKey method not implemented:
public MessageExchange getMessageExchangeByForeignKey(String foreignKey)
throws BpelEngineException {
// TODO Auto-generated method stub
return null;
}
Probably this is source of our problem. Do I need to create jira bug for it?