# Running wsdl2java

You can generate the code needed to develop your service using the following command: wsdl2java -ant -impl -server -d outputDir myService.wsdl

The command does the following:

* The -ant argument generates a Ant makefile, called build.xml , for your application.

* The -impl argument generates a shell implementation class for each portType element in the WSDL document.

* The -server argument generates a simple main() to launch your service as a stand alone application.

* The -d outputDir argument tells wsdl2java to write the generated code to a directory called outputDir.

* myService.wsdl is the WSDL document from which code is generated.