-/* try
- {
- URL serviceurl = new URL(hosturl);
- if (serviceurl.getPort()!=80)
- {
- return serviceurl.getHost()+":"+serviceurl.getPort();
- }
- return serviceurl.getHost();
- } catch (Exception e)
- {
- System.err.println("Failed to parse service URL '" + hosturl
- + "' as a valid URL!");
- }
- return null; */
+ /*
+ * try { URL serviceurl = new URL(hosturl); if (serviceurl.getPort()!=80)
+ * { return serviceurl.getHost()+":"+serviceurl.getPort(); } return
+ * serviceurl.getHost(); } catch (Exception e) {
+ * System.err.println("Failed to parse service URL '" + hosturl +
+ * "' as a valid URL!"); } return null;
+ */