I have a need to expose my service as both SOAP and REST. My application server is JBOSS.
What is the best way to implement this?
My current options are : 1. use RestEasy plugin with JBOSS for exposing the service as REST and deploy a separate axis enabled service.
2. Deploy axis2 in JBOSS and set the enableREST parameter. Deploy the service as part of axis.
Are there any standard solutions for this problem?