HttpServer server = new HttpServer(XappDB.findElement("xpath.model:xapp-server/mime-types"),name,root);
Vector services = xServer.getElementsByName("http-service");
for(int loop=0;loop<services.size();loop++)
{
XmlElement xService = (XmlElement)services.elementAt(loop);
String serviceAlias = xService.getAttributeValueByName("name");
String serviceName = xService.getAttributeValueByName("service");
XmlElement authentication = xService.getElementByName("authentication-server");
XmlElement xServiceDefinition = XappDB.findElement("xpath.model:xapp-server/services/node()[@name=\""+serviceName+"\"]");
HttpRouter service = buildService( server,name,xServiceDefinition );
if(authentication!=null)
{
String address = authentication.getAttributeValueByName("address");