I gave you the wrong patch, can you try it again. It would be useful for me to try out your example so as to avoid this to and fro on the message exchange.
It works great!
Your patch did the trick.
No more complains about missing transaction when invoking remote ejb.
Now I'm going to explore this scenario a bit more: adding a datasource and try to commit/rollback transactions.
To test the patch I use project ejbInterop.zip (in attachment).
Build produces two WAR artifacts:
In my tests I use a dockerized WAS v. 9.0.0.2 from IBM ( https://hub.docker.com/r/ibmcom/websphere-traditional/ ).
It is a convenient way to test Websphere without installing it.
I think this patch is a very useful interop enhancement for wildfly/narayana. Consider to merge it with master branch in a future release.
Anyway, thanks a lot for your support.
Fabio