if(ed instanceof EndpointDescriptionImpl) {
EndpointDescriptionImpl edImpl = (EndpointDescriptionImpl) ed;
List<CustomAnnotationInstance> customAnnotationList = edImpl.getCustomAnnotationInstances();
assertNotNull(customAnnotationList);
assertEquals(customAnnotationList.size(), 1);
CustomAnnotationInstance annotationInstance = customAnnotationList.get(0);
assertNotNull(annotationInstance);
assertEquals(annotationInstance.getClass().getName(), SampleAnnotation.class.getName());
CustomAnnotationProcessor processor = edImpl.getCustomAnnotationProcessor(annotationInstance.getClass().getName());
assertNotNull(processor);
AxisService axisService = ed.getAxisService();
assertNotNull(axisService);
String name = (String) axisService.getParameterValue(SampleAnnotation.class.getName());
assertNotNull(name);