Sorry my bad; HTTP addressimplementaion also available in wsdl4j. Corrected my code like this;
if (exElement instanceof SOAP12AddressImpl) {
return ((SOAP12AddressImpl) exElement).getLocationURI();
} else if (exElement instanceof SOAPAddressImpl) {
return ((SOAPAddressImpl) exElement).getLocationURI();
} else if (exElement instanceof HTTPAddressImpl) {
return ((HTTPAddressImpl) exElement).getLocationURI();
} else {
String msg = "Unsupported WSDL errors!";
log.error(msg);
throw new APIManagementException(msg);
}