Re: In-flow request insertion

2008-10-15 Thread Igor Nogueira
> I am not clear about your requirement. But may be looking at Axis2 > clustering would be usefull to you. > > > Amila, Basically I want to do this: I have several services distributed on several servers. Only one of them will process client's requests- the primary one. If the primary fails, then

Re: In-flow request insertion

2008-10-15 Thread Igor Nogueira
t;> return (e1.getReason()); >> >> } >> >> >> >> "contextomensagem" is a static variable that keeps a copy of the >> >> MessageContext received at the invoke method. As I'm testing I didin't >> >>

Re: In-flow request insertion

2008-10-14 Thread Amila Suriarachchi
ps a copy of the > >> MessageContext received at the invoke method. As I'm testing I didin't > >> change the SOAPEnvelope, I'm just trying to re-send the same message. > Is > >> there something else to do? > &

Re: In-flow request insertion

2008-10-14 Thread Igor Nogueira
essage. Is >> there something else to do? >> > > Are you experimenting with Axis2 Engine or what do you try to archive? why > you want to send the same message twice? > > thanks, > Amila. > >> >> >> Thanks! >> > > > > -- > A

Re: In-flow request insertion

2008-10-14 Thread Amila Suriarachchi
On Mon, Oct 13, 2008 at 4:29 PM, Igor Nogueira <[EMAIL PROTECTED] > wrote: > Amila, thank you! I've tested what you said, but I've got this exception: > "A message was added that is not valid. However, the operation context was > complete." > this means it try to add an Axis2 Message to an operat

Re: In-flow request insertion

2008-10-13 Thread Igor Nogueira
Is there something I need to rebuild? I mean has something been consumed during the InFlow that I need to reset? Regards, Igor Nogueira 2008/10/13 Igor Nogueira <[EMAIL PROTECTED]> > Amila, thank you! I've tested what you said, but I've got this exception: > "A message was added that is not val

Re: In-flow request insertion

2008-10-13 Thread Igor Nogueira
Amila, thank you! I've tested what you said, but I've got this exception: "A message was added that is not valid. However, the operation context was complete." Here's the code I'm using: contextomensagem.setCurrentHandlerIndex(0); contextomensagem.setCurrentPhaseIndex(0); A

Re: In-flow request insertion

2008-10-13 Thread Amila Suriarachchi
On Mon, Oct 13, 2008 at 12:25 PM, Amila Suriarachchi < [EMAIL PROTECTED]> wrote: > > > On Mon, Oct 13, 2008 at 4:44 AM, Igor Nogueira < > [EMAIL PROTECTED]> wrote: > >> Guys, I have the following situation: I have a handler inserted on >> in-flow. It's phase is located after "postdispatch" phase.

Re: In-flow request insertion

2008-10-12 Thread Amila Suriarachchi
On Mon, Oct 13, 2008 at 4:44 AM, Igor Nogueira <[EMAIL PROTECTED] > wrote: > Guys, I have the following situation: I have a handler inserted on > in-flow. It's phase is located after "postdispatch" phase. On this handler I > modify the message, I mean the SOAPEnvelope and I'd like to re-send it t

Re: In-flow request insertion

2008-10-12 Thread Igor Nogueira
Hey Martin, Thanks for answering! But I didn't understand. I mean the first phase of in-flow is "TransportIn" so shouldn't I send the message to this point, at the beginnig of the flow? How could I define an action there? Sorry me, but as a newbie at Axis and Java I'm confused ;-) Thanks again! I

RE: In-flow request insertion

2008-10-12 Thread Martin Gainty
ecessarily endorse content contained within this transmission. Date: Sun, 12 Oct 2008 21:14:32 -0200 From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: In-flow request insertion Guys, I have the following situation: I have a handler inserted on in-flow. It's phase is located afte

In-flow request insertion

2008-10-12 Thread Igor Nogueira
Guys, I have the following situation: I have a handler inserted on in-flow. It's phase is located after "postdispatch" phase. On this handler I modify the message, I mean the SOAPEnvelope and I'd like to re-send it to the beginning of the in-flow, like a new invocation to the service. Is it possib