aspose file tools*
The moose likes Web Services and the fly likes beginner questions regarding axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "beginner questions regarding axis2" Watch "beginner questions regarding axis2" New topic
Author

beginner questions regarding axis2

andy kumar
Ranch Hand

Joined: Jun 08, 2009
Posts: 54
Hi,

I am in the process of learning web services using axis2. I have some confusion regarding wsgen, wsimport, java2wsdl and wsdl2java.

Q1) If I have a wsdl I can use wsdl2java or wsimport to get the server side classes and then implement them, what is the difference between using wsgen and wsdl2java? I know wsgen uses the JAX WS programming model, then which model is wsdl2java using?

Q2) If I have a annotated java class and use wsgen, I get the wsdl and some java classes, what is the purpose of these java classes as without them also I can package my annotated java class to a jar and then deploy it in the servicejars directory.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: beginner questions regarding axis2
 
Similar Threads
Query regarding RPC/Document Style,WSGEN and WSIMPORT
Axis2 Questions
WSIMPORT error while using it with AXIS2
wsdl
web service "int myMethod(int i, String s)"