コード例 #1
0
  protected void writeBodyFailure(
      Document d,
      Element bodyElement,
      ActionResponseMessage message,
      ActionInvocation actionInvocation)
      throws Exception {

    writeFaultElement(d, bodyElement, actionInvocation);
    message.setBody(toString(d));
  }
コード例 #2
0
  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));
  }