Service service = dep.getService();
service.setContextRoot(context.getContextRoot());
// Create/Setup the endpoint
org.jboss.wsf.spi.deployment.Endpoint ep = depModelFactory.newEndpoint(implClass.getName());
service.addEndpoint(ep);
// Deploy using deployment aspects
WSFRuntimeLocator locator = spiProvider.getSPI(WSFRuntimeLocator.class);
WSFRuntime runtime = locator.locateRuntime(runtimeName);