protected void callMethod(final ExecutionContext context, int method) {
   if (async) context.callMethodAsync(method, resultVar);
   else {
     int response = context.callMethod(method, resultVar);
     context.setXmlVar(resultVar, SoapUtil.getContent(response));
   }
 }
 public void executeStep(ExecutionContext context) {
   int node = context.getXmlVar("output");
   if (rename != null) {
     if (context.debugTraceEnabled()) context.traceDebug("renaming output node to " + rename);
     Node.setName(node, rename);
   }
   appender.append(context, node);
 }
  public void executeStep(final ExecutionContext context) {
    int msg = message.getNode(context);
    int content = SoapUtil.getContent(msg);

    int method =
        context.createMethod(Node.getNamespaceURI(content), Node.getLocalName(content)).node;
    SoapUtil.mergeResponses(msg, method); // TODO: name of this method is strange
    appender.append(context, method);
    callMethod(context, method);
  }