Step 3: Start the service

Compile the previously created java class, and run it.

Commands to compile and execute the service in standalone mode:
$ javac BarcodeService.java
$ java BarcodeService

Once the service is started, it is ready to accept requests and you can also retrieve its WSDL at following URL:

http://localhost/9090/BarcodeService?WSDL

Note: If you want the service to be started on a web server, you must deploy it first using Eclipse or the Web Server deployment tools.