Use the following steps to generate the stub code for a Java web services client application, using the wsimport tool that is included with the Java Development Kit.
1. Copy the both *.xsd and *.wsdl file to JAVA bin directory.
2. Open command prompt window and change to the directory to $JAVA_HOME/bin.
3. And type the below comment:
C:\Program Files\Java\jdk1.7.0_76\bin>wsimport -keep -d "C:\Users\sub.kumar\Desktop\AG\classes" -s "C:\Users\sub.kumar\Desktop\A
G\src" InboundPocProv.wsdl
Comments
Post a Comment