What version of Teiid are you using? No matter what version we do not have support for EAP 7.0 yet. Typically Teiid community supports the WildFly versions, not EAP. Teiid 9.0 supports WildFly 9, Teiid 9.1 supports WildFly 10 versions.
We do support EAP, but that comes in the productized version of Teiid from Red Hat, currently there is no version that supports EAP 7, there is version that supports EAP 6.3, and you can download a developer ONLY version at Red Hat JBoss Data Virtualization | 'Red Hat Developers'
After you install the right server your example will work fine.