Does anyone know the rules of how to throw and catch exception using stateless session bean web services that also have a remote and local interface?
I've noticed that it deploys without error if you throw Exception or RemoteException, although you can't throw the latter from your bean if you have a local interface. It won't allow you to throw EJBException, which certainly does confuse how you implement CMT.
In our case, we're converting current code that runs in production in JBoss 3.2.3 to JBoss 4.0.2. The current code throws custom application exceptions that extend Exception, but wscompile chokes on these.