if (implementation.equals("urlfetch")) {
wsImpl = new WSUrlFetch();
Logger.trace("Using URLFetch for web service");
} else if (implementation.equals("async")) {
Logger.trace("Using Async for web service");
wsImpl = new WSAsync();
} else {
try {
wsImpl = (WSImpl)Play.classloader.loadClass(implementation).newInstance();
Logger.trace("Using the class:" + implementation + " for web service");
} catch (Exception e) {