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.

有帮助吗?

解决方案

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..

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top