[jboss-user] [EJB 3.0] - Re: Steless Session bean as Webservice
PeterJ
do-not-reply at jboss.com
Mon Sep 29 16:45:47 EDT 2008
You could also try using wsconsume to generate the client stubs and then use those stubs to write your client. The client code will be much simplified:
public static void main(..) {
| SimpleWSBeanService svc = new SimpleWSBeanService();
| SimpleWS simple = svc.getSimpleWSBeanPort();
| String reply = simple.greet("xxx");
| }
Also, the use of the Remote interface and annotation is not necessary.
Works for me just fine on CR2 with JDK5 or 6.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179445#4179445
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179445
More information about the jboss-user
mailing list