*/
public void testGetAttributeValue() throws WSDLException {
//The <binding> element in the hotelReservation WSDL has many attributes
//So, let's test with that element
DOMXMLElement domXMLElement = new DOMXMLElement(errorReporter);
domXMLElement.setSource(elem);
Object obj;
Element tempEl;
if ((obj = domXMLElement.getFirstChildElement().getSource()) instanceof Element){
tempEl = (Element)obj;
while (tempEl != null){
if (DOMQNameUtils.matches(Constants.Q_ELEM_BINDING, tempEl)){
domXMLElement.setSource(tempEl);
assertNotNull(domXMLElement.getAttributeValue("name"));
}
tempEl = DOMUtils.getNextSiblingElement(tempEl);
}
}
}