I am trying to use CXF WSDL2JAVA tool.
But this shows error .. I am not able to compile this WSDL2JAVA.java...I am not able to understand how to generate stubs out of it..
By just running WSDL2JAVA.bat shows error like it is not able to find the class WSDL2JAVA .. If i try to compile the program code available for WSDL2JAVA it is showing errors.

IS the stubs generated with AXIS WSDL2JAVA different from CXF WSDL2JAVA? Shall i use the stubs created with AXIS WSDL2JAVA in the program where i code with CXF library ?

I am new to using web services .
Please help me