else if (type == HandlerType.POST)
{
handlerPass = delegate.callRequestHandlerChain(sepMetaData, type);
// Verify that the the message has not been mofified
CommonMessageContext messageContext = MessageContextAssociation.peekMessageContext();
if(handlerPass && messageContext.isModified())
{
try
{
OperationMetaData opMetaData = messageContext.getOperationMetaData();
CommonBindingProvider bindingProvider = new CommonBindingProvider(opMetaData.getEndpointMetaData());
CommonBinding binding = bindingProvider.getCommonBinding();
log.debug("Handler modified payload, unbind message and update invocation args");
EndpointInvocation epInv = binding.unbindRequestMessage(opMetaData, messageContext.getMessageAbstraction());
wsInv.getInvocationContext().addAttachment(EndpointInvocation.class, epInv);
}
catch (BindingException ex)
{
throw new WSException(ex);