How add wms service of geoserver in flex viewer?
I shouldn't be any problem. you can look at this documentation:
ArcGIS Viewer for Flex
"The WMS service does not specify which layers should be visible by default, so make sure to use the <layer> tag's visiblelayers attribute or no sublayers will be shown."