String type = (String)webServiceInfoMap.get(
WebServiceEndpointInfo.SERVICE_IMPL_TYPE_KEY);
if (type.equals(WebServiceEndpointInfo.EJB_IMPL)){
Map<String, EJBModuleConfig> ejbMap =
dc.getEJBModuleConfigMap();
EJBModuleConfig config = ejbMap.get(appId);
Map<String, WebServiceEndpointConfig> wsecMap =
config.getWebServiceEndpointConfigMap();
wsec = wsecMap.get(pureWebServiceName);
for (int i=0; i<registryLocations.length; i++){
String jndiname = registryLocations[i];
config.removeProperty(jndiname+"__"+
underScoredWebServiceName);
}
} else if (type.equals(WebServiceEndpointInfo.SERVLET_IMPL)){
Map<String, WebModuleConfig> webMap =
dc.getWebModuleConfigMap();
WebModuleConfig config = webMap.get(appId);
Map<String, WebServiceEndpointConfig> wsecMap =
config.getWebServiceEndpointConfigMap();
wsec = wsecMap.get(pureWebServiceName);
for (int i=0; i<registryLocations.length; i++){
String jndiname = registryLocations[i];
config.removeProperty(jndiname+"__"+
underScoredWebServiceName);
}
}
}