For JAX-WS I would not even bother with the wsdl2java in axis2 1.4 and just use 
wsimport/wsgen.  Both wsimport and wsgen are available in JDK1.6.  

Regards,
Bill  


From: Tong Wang 
Sent: Wednesday, July 02, 2008 9:43 AM
To: axis-user@ws.apache.org 
Subject: [axis2]Does axis2-1.4 have its code generation tools for JAX-WS?


Hi,

The JAX-WS guide (http://ws.apache.org/axis2/1_4/jaxws-guide.html) uses wsgen 
and wsimport, which I think is provided by JAX-WS RI. And I find little 
official document about the option "-l jax-ws" for wsdl2java tool, though I 
guess it is for JAX-WS.

I've tried wsdl2java -d jaxbri -l jax-ws -uri <wsdl uri>
But I met the following exception.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: org.apache.axis2.wsdl.codegen.CodeGenerationException: template for this 
writer is not found!

Do you know how to use this option? Is it a bug, or this feature is still not 
complete?


Another question is how much does axis2-1.4 support JAX-WS?

Any comment is appreciated. Thanks!



Regards,
Tong 025-83242286-5020 

Reply via email to