Jeanne Boyarsky wrote:What kind of class is the web service class? You can only inject EJBs in other EJBs or servlets. For a standalone class, you need to do a JNDI lookup the "old fashioned" way.
Greg Schultz wrote:So what was the fix?
David Newton wrote:Please UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the button.
I've also moved this to the JEE forum.