//Read EndpointDescription
EndpointDescription ed = serviceDesc.getEndpointDescription(new QName(namespaceURI, portName));
assertNotNull("EndpointDescription is null", ed);
//Use RespectBindingConfigurator to read extensibility element in wsdlBindings.
RespectBindingConfigurator rbc = new RespectBindingConfigurator();
//Mock Object Server Framework.
ServerFramework sf = new ServerFramework();
Annotation a = wsFeature;
sf.addConfigurator(RespectBindingFeature.ID, rbc);
sf.addAnnotation(a);
//lets hang the RespectBinding annotation to the EndpointDefinition
addAnnotation(ed, sf);
rbc.configure(ed);
Set<WSDLValidatorElement> elements = ed.getRequiredBindings();
assertNotNull("Set of WSDLValidatorElement was null", elements);
assertEquals("Expecting 5 Extension elements from wsdl in Set of WSDLValidatorElements but found "+elements.size(),elements.size(), 5);
}catch(Exception e){