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)); } }