I'm trying switchyard for seamless and easy to use integration between bpmn processes and drl rules and exposing them as simple interface services for my Jax-ws Stateless EJB webservice. From what i've grasped from SwitchYard @Inject and @Reference (from same project or using a switchyard project dependency) won't do the trick because my Jax-ws isn't managed by Switchyard so metadata or some processes behind the curtain aren't passed or started (Later I tried and obviously didn't work). Is there a way to inject my switchyard services inside my webservices? Thanks!
I haven't tried using @Inject to provide a SY reference inside a JAX-WS endpoint so I can't say for sure. If you deploy a JAX-WS endpoint along with a SY app in a WAR, both pieces should have access to the same CDI Bean Manager. The next question would be whether the JAX-WS endpoint is available for injection through our CDI extension. You say you got an error, can you post the details and/or an app to reproduce the problem?
Are you deploying on JBoss AS 7? If so, you don't need the switchyard-deploy-webapp dependency at all. Here's an example of an app which is a war deployment:
If you're not deploying to JBoss AS 7, then I'd be interested to know what your target platform is. There may be a bug here in 0.6 if it doesn't work with the current snapshot.
Really? Wow, last friday was mayhem at my workspace but now everything is working fine. I'm using JBOSS7 and today as I got to the office i build a new project from scratch with JEE6 full profile and I realized about the deployer version I changed it and tested my app. Everything points to me as I did something to screw the app last friday for good. Sorry for wasting your time and thanks!