문제

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