public static void populateEPMap(AxisService service) {
HashMap map = new HashMap();
for (Iterator iterator = service.getEndpoints().values().iterator(); iterator
.hasNext();) {
AxisEndpoint endpoint = (AxisEndpoint) iterator.next();
String transportInDescription = endpoint
.getTransportInDescription();
if (transportInDescription == null) {
continue;
}
AxisBinding binding = endpoint.getBinding();
if (binding != null) {
if (isSoap11Binding(binding)) {
map.put(transportInDescription + ":soap11", endpoint);
} else if (isSoap12Binding(binding)) {
map.put(transportInDescription + ":soap12", endpoint);