Hi All

I have a specific question about Kandula Axis 2 - WS-BA implementation usage
and I hope you can answer this because I got stuck now in the code.
I have a servlet that will call my main business service which will call all
participants in the right order to complete the entire process. Each
participant can be in different locations.

So I call my "main" business service (start point) and it has those first
lines of code to start the call all participants:

*final String matchcode = "P"+(this.nextMatchcode++);*
*coordIProxy = AtomicCoordinatorIProxy.createNewContext_WithWSBAI();*
*CoordinationContext ctx = this.coordIProxy.
getCoordinationContextForParticipant(matchcode);*
*
*
*final TransacaoPedidoServicoRequest params =   new
TransacaoPedidoServicoRequest(*
* new controle.ContextChoiceType(ctx) );*
* *
*TransacaoPedidoServicoResponse response = myProxy.obterNovoPedido(params);*

-- in the last line I got a nullpointer from coordination classes ( I am
trying to debug, however I am using different project locations so it is
being hard)..

*My question is* if my code seems to be correct or not for you before I
proceed with this approach.

My plan is proceed calling others partipants after get the response from
latest line.


Thanks very much for your attention and patience on this.

PS: Seems that Kandula 2 does not handle system failures right? If my
participant is not available when I call it , Kandula does not ask for the
ones that were already processed to be compensated right?

Maisa Penha
Brazil

Reply via email to