}, OperationContext.Stage.RUNTIME);
WSServices.saveContainerRegistry(context.getServiceRegistry(false));
ServiceTarget serviceTarget = context.getServiceTarget();
if (appclient && model.hasDefined(WSDL_HOST)) {
ServerConfigImpl serverConfig = createServerConfig(model, true);
newControllers.add(ServerConfigService.install(serviceTarget, serverConfig, verificationHandler));
}
if (!appclient) {
ServerConfigImpl serverConfig = createServerConfig(model, false);
newControllers.add(ServerConfigService.install(serviceTarget, serverConfig, verificationHandler));
newControllers.add(EndpointRegistryService.install(serviceTarget, verificationHandler));
String defaultHost = context.getRootResource().getChild(PathElement.pathElement("subsystem", "web")).getModel().get("default-virtual-server").asString();
newControllers.add(PortComponentLinkService.install(serviceTarget, defaultHost, verificationHandler));