[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossWS Plugin gen code problem
do-not-reply at jboss.com
Mon Oct 30 02:09:03 EST 2006
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!
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
More information about the jboss-user