{
Annotation[][] annotations = method.getParameterAnnotations();
WebResult webResult = (WebResult) method.getAnnotation(WebResult.class);
if (webResult != null)
{
WebResultAnnotation annot = new WebResultAnnotation();
annot.setName(webResult.name());
annot.setTargetNamespace(webResult.targetNamespace());
annot.setHeader(webResult.header());
annot.setPartName(webResult.partName());
return annot;
}
else
{