support also xml for class service resolving #158