Reputation: 6819
What are the different WSDL to client stub code generator and their differences? Which one is better if I need to translate a complex WSDL into code? By complex, I mean the WSDL has various contraints such min and max length/ value, min and max occurrences.
As of now, I know 3 tools that can do the job from Google and StackOverflow: Axis2
, CXF
, Eclipse WTP
and IBM Rational
. I was only able to test Axis2. I have no experience on CXF and IBM Rational. What are the differences of the said tool? Is there any other good tool that you can suggest?
I tried to generate a server stub from WSDL using Axis2 before but one web service method is not generated so I've stopped using Axis2 thinking that there might be a limitation on the code genaration of Axis2. Is there a limitation on the code genaration of Axis2? The one I tried before is a server stub. Now, I need to generate a client stub.
Please note that we are using JDK 1.5.
Upvotes: 0
Views: 1787
Reputation: 14607
Eclipse WTP just calls out to either Axis 2 or CXF depending on which you need/have installed.
CXF's code generator is completely compatible with JAX-WS (and the wsimport command), but also runs fine with Java 5. By using CXF, you can certainly run on Java 5 now and if/when you move to Java 6, you can then decide at that point to flip to the JAX-WS impl in the JDK or stick with CXF. You'd have that choice. With Axis 2, you'd be stuck with Axis 2.
Upvotes: 2