I don't think you can do this. Web services and MDBs are managed differently. Instead, place your business code in a POJO and create both a web service (either EJB or POJO) and an MDB as the front ends to that POJO.
Reply to this message by going to Community
Start a new discussion in JBoss Web Services at Community