Map service is an API for WMS map layers reference. Portable to any kinds of database.