web services to storing and sorting document