name = portComponent.getName();
}
}
// Use info from easybeans.xml if available
WebserviceEndpoint endpoint = null;
EasyBeansDD easybeansDD = this.deployment.getEjbJarArchiveMetadata().getEasyBeansDD();
if (easybeansDD != null) {
// Iterates on additional datas
EasyBeansWebservices webservices = easybeansDD.getWebservices();
if ((webservices != null) && (webservices.getWebserviceEndpoints() != null)) {
Iterator<WebserviceEndpoint> i = webservices.getWebserviceEndpoints().iterator();
for (; i.hasNext() && (endpoint == null);) {
WebserviceEndpoint browsed = i.next();
if (browsed.getPortComponentName().equals(name)) {
endpoint = browsed;
}
}
}