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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to