make web service for capacity and total