QGIS Python Plugins Repository
Plugin: Value Map from WFS
read info in wfs and configure widgets of qgis autoform
The plugin look in the request DescribeFeatureType and look inside if an enumeration is present. If it is the case, it get all the values and the the wgis editor widgets to a value map with appropriate element.