File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Which one first Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Which one first" Watch "Which one first" New topic
Author

Which one first

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Hi,
Do we generate Java interface from a WSDL file or generate WSDL from a java interface. I feel that 2nd approach is cool.


Groovy
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
WSDL from Java
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

What does WSDL2Java from Apache Axis does?
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
please read "WSDL2Java: Building stubs, skeletons, and data types from WSDL" from http://ws.apache.org/axis/java/user-guide.html
Simply it can create client code to access service specified in wSDL file or it can be used to generate the java framework of server-side(generates a model of how the server code is implemented)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Which one first