Hi!
You need to extract the methods you want to expose from your EJB into a seperate interface that extends Remote, ie if you have a "doIt" method in your EJB, refactor it into an interface ("Refactor/Extract Interface"), then make sure that the interface extends Remote and the interfaces methods throw RemoteException (this is a JAX-RPC requirement I think..).. Then when you rerun the "Publish as WebService" dialog, select the generated interface instead of SessionBean..
Hope this helps!
regards,
/Ole
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981660#3981660
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981660
Hi and thanks for your answer. Currently all my Hibernate libraries (Core, Annotations and EntityManager) are packaged in my EAR root - this packaging seems to be working fine on other app servers. Is the conflict due to the presence of the hibernate3.jar and jboss-hibernate.jar files in the ${JBOSS_HOME}/server/default/lib directory? And is this previous directory the "lib" directory you're mentioning in your message?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981659#3981659
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981659