We can convert WSDL files into Java POJO class in an easy way with wsimport command
Command :
wsimport -keep -s <directory> -p <pkg> -verbose WSDLfile
Example
wsimport -keep -s /home/ubuntu/example -p com.example.org -verbose http://example.org/helloservice?wsdl
For help use wsimport --help which will provide you the list of option
Command :
wsimport -keep -s <directory> -p <pkg> -verbose WSDLfile
Example
wsimport -keep -s /home/ubuntu/example -p com.example.org -verbose http://example.org/helloservice?wsdl
For help use wsimport --help which will provide you the list of option