8990919293949596979899
ep.setShortName(implClass.getName()+"-Endpoint"); ep.setURLPattern("/*"); service.addEndpoint(ep); // Deploy using deployment aspects runtime.create(dep); runtime.start(dep); } catch (RuntimeException rte) { throw rte;
93949596979899100101102103
// Deploy using deployment aspects WSFRuntimeLocator locator = spiProvider.getSPI(WSFRuntimeLocator.class); WSFRuntime runtime = locator.locateRuntime(runtimeName); runtime.create(dep); runtime.start(dep); } catch (RuntimeException rte) { throw rte;