Annotation[][] parameterAnnotations = method.getParameterAnnotations();
Object[] params = new Object[parameterAnnotations.length];
OperationAttachment attachment = null;
for (int i = 0; i < parameterAnnotations.length; i++)
{
MappedPath pathTemplate;
MappedAttribute managedAttribute;
// Resolve path template and set as parameter to method
if ((pathTemplate = getAnnotation(parameterAnnotations[i], MappedPath.class)) != null)
{
params[i] = operationContext.getAddress().resolvePathTemplate(pathTemplate.value());
if (debug) log.debug("Resolved path template " + pathTemplate.value() + "=" + params[i]);
}
// Resolve attribute name and set as parameter to method
else if ((managedAttribute = getAnnotation(parameterAnnotations[i], MappedAttribute.class)) != null)
{
if (List.class == method.getParameterTypes()[i])