Step 1: Set JAVA_HOME
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45
Step 2:Set Axis path
set AXIS_LIBS=C:\axis-1_2\lib
Step 3: Set Axis Classpath
set AXISCLASSPATH=%AXIS_LIBS%\axis.jar;%AXIS_LIBS%\commons-discovery-0.2.jar;%AXIS_LIBS%\commons-logging-1.0.4.jar;%AXIS_LIBS%\jaxrpc.jar;%AXIS_LIBS%\saaj.jar;%AXIS_LIBS%\wsdl4j-1.5.1.jar;%AXIS_LIBS%\activation.jar;%AXIS_LIBS%\mail.jar
.
Step 4: Query to generate classes
java -classpath %AXISCLASSPATH% org.apache.axis.wsdl.WSDL2Java "<WSDL Path/abc.wsdl>" -o C:\JavaClassFolder -W -p com.user.wsdl.decoderr<packageName>
0 comments :
Post a Comment