// transform the URL for backwards compatibility
if (url.endsWith("/ExternalSales")) {
url = url.substring(0, url.length() - 14);
}
externalSales = new ExternalSalesImplServiceLocator().getExternalSales(new URL(url + "/ExternalSales"));
externalCustomers = new WebServiceImplServiceLocator().getWebService(new URL(url + "/WebService"));
m_sERPUser = prop.getProperty("user");
m_sERPPassword = prop.getProperty("password");
if (m_sERPUser != null && m_sERPPassword != null && m_sERPPassword.startsWith("crypt:")) {