After running the command successfully , you will find all the classes generated automatically with correct package structure .
xjc test.xsd
We can convert xsd files to java file vert easily using xjc tool . Just type the following command in command prompt ( assuming you have the xsd file in same working directory ) XJC is inbuilt for java version 6 and higher . Post Comments and Suggestions !!