6162636465666768
try { return factory.getService(new URL(location), portName); } catch(MalformedURLException e) { throw new InvalidXMLException("Invalid URL given for service location: " + location); } }