Question

I have a scenario where an acknowledgement should be sent to the requestor that the message was successfully validated and accepted, however the original message should continue it's normal flow execution.

My module consists of a simple handler that performs some validation stuff and should send an acknowledgement to the requestor:

public class ValidationHandler extends AbstractHandler {
    //Validation logic goes here
    return InvocationResponse.CONTINUE;
}

How I could send the acknowledgement from the handler not breaking the initial message flow?

Thanks, Vladimir.

Was it helpful?

Solution

Use ;

AxisEngine.send(arg0);

in your handler to send a response back to client..

Here is a sample post, which talks about sending error message..You can refer that to send a custom response..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top