Dynamic Web
EJB
My methods:
- It's easy to generate WSDL by writing SessionBean anotated with @WebService. You can find out the URL of the wsdl in the information of the console messages.
http://localhost:8080/TSMEar-TSMEJB/AdminSDKeyChangeSessionBean?wsdl - Use Eclipse to generate an JBossws client:
a. New a dynamic web project.
b. New a Web Service Client associated with the former web project
--> try to generate specific client stubs!!!
c. Copy the stubs to your own client project...
It's better to include JBossws 3.1.2.GA library because it's lighter than JBoss server runtime!!
Another option for Web Services: Axis
It seems better to write client codes!
No comments:
Post a Comment