private List<BindingDescription> getWebServiceConfigurations(final DeploymentUnit deploymentUnit, final ClassInfo classInfo, final AbstractComponentDescription componentDescription) {
final List<BindingDescription> configurations = new ArrayList<BindingDescription>();
final Map<DotName, List<AnnotationInstance>> classAnnotations = classInfo.annotations();
final Module module = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.MODULE);
final CompositeIndex index = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.COMPOSITE_ANNOTATION_INDEX);
UnifiedVirtualFile vfs = getUnifiedVirtualFile(deploymentUnit);
if (classAnnotations != null) {
final List<AnnotationInstance> resourceAnnotations = classAnnotations.get(WEB_SERVICE_REF_ANNOTATION_NAME);
if (resourceAnnotations != null) {
for (AnnotationInstance annotation : resourceAnnotations) {
configurations.add(getWebServiceConfiguration(annotation, vfs, module, index, componentDescription));