if ((wsdlPath.startsWith("file://")) || (wsdlPath.startsWith("http://"))) {
wsdl = new URL(wsdlPath);
} else {
wsdl = new URL("file://" + wsdlPath);
}
ss = new BasicService(wsdl, SERVICE_NAME);
} catch (MalformedURLException e) {
e.printStackTrace();
}
return ss.getSoapHttpPort();
}