[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.

PeterJ do-not-reply at jboss.com
Sun Sep 28 13:32:10 EDT 2008


It is easier if you use wsconsume to generate the client stubs. Then your client code would be something like:

GreetingService svc = new GreetingService();
Greeting g = svc.getGreetingPort();

I was going to dig through the source code generated by wsconsume to correct your code, but you can do that just as easily so I will leave it as an exercise for you.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179237#4179237

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179237



More information about the jboss-user mailing list