JavaReturn future = new JavaReturn();
future.setClassName("Future<?>");
pollingMethod.setReturn(future);
addWebMethodAnnotation(pollingMethod, method.getOperationName());
pollingMethod.addAnnotation("ResponseWrapper", method.getAnnotationMap().get("ResponseWrapper"));
pollingMethod.addAnnotation("RequestWrapper", method.getAnnotationMap().get("RequestWrapper"));
pollingMethod.addAnnotation("SOAPBinding", method.getAnnotationMap().get("SOAPBinding"));
for (Iterator iter = method.getParameters().iterator(); iter.hasNext();) {
pollingMethod.addParameter((JavaParameter)iter.next());