You must ensure that your data source is defined. In your standalone-full.xml you need to include a definition, for example:
<datasource jndi-name="java:datasources/WEBFDMS" pool-name="WEBFDMS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
"java: datasources / WEBFDMS" may need to be "java: jboss / datasources / WEBFDMS"
Of course, this definition of a data source will simply create a data source in memory. To connect to a running database (mysql, oracle, etc.), you will have to configure it differently.