Wednesday, June 19, 2013

wsimport command for JAX-WS

The wsimport command-line tool processes an existing Web Services Description Language (WSDL) file and generates the required portable artifacts for developing Java API for XML-Based Web Services (JAX-WS) Web service applications.Following are the wsimport commands which can be used:

wsimport -d classes -s src -verbose C:\ProcessRetailDeliveryReporting.wsdl 
  
d - will set the directory generated output classes
s - java source directory
verbose - will display action happening in the console
wsdllocation - wsdlfilelocation

Complete implementation reference of JAX-WS is available @starstandard.org