JavaParameter asyncHandler = new JavaParameter();
asyncHandler.setName("asyncHandler");
asyncHandler.setClassName(getAsyncClassName(method, "AsyncHandler"));
JavaAnnotation asyncHandlerAnnotation = new JavaAnnotation("WebParam");
asyncHandlerAnnotation.addArgument("name", "asyncHandler");
asyncHandlerAnnotation.addArgument("targetNamespace", "");
asyncHandler.setAnnotation(asyncHandlerAnnotation);
pollingMethod.addParameter(asyncHandler);
method.getInterface().addMethod(pollingMethod);