| Summary | Does Artix provide command line tools for Java code generation from WSDL? | 
|---|---|
| Article Number | 19136 | 
| Environment | All Supported Operating Systems Artix 5.x | 
| Question/Problem Description | Does Artix provide command line tools for Java code generation from WSDL? What are the various command line tools for generating Java code from WSDL? Is it possible to generate Java code from WSDL using Artix tools? | 
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | Artix ESB provides a number of command line utilities for generating application code from WSDL. The following 3 tools can be used to generate Java code from WSDL: 1. "artix wsdlgen" uses JavaScript templates for generation of application code from WSDL e.g. "artix wsdlgen -G jaxws -T all -T ant <path-to-wsdl>" will generate JAX-WS compliant Java client and server code, along with an ANT build script 2. "artix wsdl2java" generates JAX-WS compliant Java code from a WSDL document e.g. "artix wsdl2java -all <path-to-wsdl>" will generate client and server mainline, along with an ANT build script 3. "wsdltojava" generates JAX-RPC compliant Java code from a WSDL document e.g. "wsdltojava -all" will generate client and server skeleton based on services defined in WSDL contract | 
| Workaround | |
| Notes | |
| Attachment | 
| Created date: | 06 September 2011 | 
|---|---|
| Last Modified: | 13 February 2013 | 
| Last Published: | 23 June 2012 | 
| First Published date: | 10 September 2011 | 
#Orbix
#KnowledgeDocs

