HTTPAddress add = (HTTPAddress) WsdlUtils.getAddressExtension(port);
assertNotNull("Address expected", add);
assertNotNull("Non-null Location expected", add.getLocationURI());
assertTrue("Non-empty Location expected", add.getLocationURI().length() > 0);
} else if (WsdlUtils.useHTTPBinding(port)) {
SOAPAddress add = (SOAPAddress) WsdlUtils.getAddressExtension(port);
assertNotNull("Address expected", add);
assertNotNull("Non-null Location expected", add.getLocationURI());
assertTrue("Non-empty Location expected", add.getLocationURI().length() > 0);
}
}
}