protected void writeBodyFailure( Document d, Element bodyElement, ActionResponseMessage message, ActionInvocation actionInvocation) throws Exception { writeFaultElement(d, bodyElement, actionInvocation); message.setBody(toString(d)); }
protected void writeBodyResponse( Document d, Element bodyElement, ActionResponseMessage message, ActionInvocation actionInvocation) throws Exception { Element actionResponseElement = writeActionResponseElement(d, bodyElement, message, actionInvocation); writeActionOutputArguments(d, actionResponseElement, actionInvocation); message.setBody(toString(d)); }