XmlElement balancingServers = xServiceDefinition.getElementByName("http-balance-servers");
for(int loop=0;loop<balancingServers.getElementCount();loop++)
{
XmlElement balancingServer = balancingServers.getElementByIndex(loop);
balancingRouter.addBalancingServer( balancingServer.getAttributeValueByName("address"),Integer.parseInt(balancingServer.getAttributeValueByName("port")) );
}
}
if(router!=null)
{