Skip to main content

How to generate Stub Code for a Java Client using cmd in Windows



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

Popular posts from this blog

ATG Installation guide step by step

Please find the below environment setup details required for the ATG installation. Step: 1 1. OS: Windows (64-bit) 2. RAM: 8GB minimum  3. JDK 1.8 4. JBoss-eap-6.4 5.   Eclipse mars or neon 6.  Database: Oracle XE 11g Express Edition  7.   Oracle SQL Developer 4.0.3.16  Now its time to follow step 2. (To get all the below software login https://edelivery.oracle.com and download from there) Step 2:   Oracle ATG Web Commerce:  1.  Oracle Commerce ACC (11.2.0.0.0) 2.  Oracle Commerce Platform (11.2.0.0.0) 3.  Oracle Commerce Reference Store (11.2.0.0.0) 4.  Oracle Commerce Store Accelerator (11.2.0.0.0) Oracle Endeca Developer 1.  Oracle Commerce Experience Manager Tools and Frameworks (11.2.0.0.0) 2.  Oracle Commerce Content Acquisition System (11.2.0.0.0) 3.  Oracle Commerce Developer Studio (11.2.0.0.0) 4.  Oracle Commerce Guided Search Platform Services (11.2.0.0.0) 5.  O...

Project is Stuck and not deploying in BCC

If you see below error during project deployment please follow below steps. 1.          Go to the mgmt. schema and run the below query. select * from avm_asset_lock; 2.          If you will find any row, clear that then try to resume the deployment.

ATG Installation guide step by step in Linux environment (CentOS)

Please find the below environment setup details required for the ATG installation. Step: 1 1.  OS: CentOS or any Linux (64-bit) 2.  RAM: 8GB minimum  3.  JDK 1.8 4.  JBoss-eap-6.4 5.   Eclipse mars or neon 6.  Database: Oracle XE 11g Express Edition  7.   Oracle SQL Developer 4.0.3.16  Now its time to follow step 2. (To get all the below software login  https://edelivery.oracle.com  and download from there) Step 2:   Oracle ATG Web Commerce:  1.  Oracle Commerce ACC (11.2.0.0.0) 2.  Oracle Commerce Platform (11.2.0.0.0) 3.  Oracle Commerce Reference Store (11.2.0.0.0) 4.  Oracle Commerce Store Accelerator (11.2.0.0.0) Oracle Endeca Developer 1.  Oracle Commerce Experience Manager Tools and Frameworks (11.2.0.0.0) 2.  Oracle Commerce Content Acquisition System (11.2.0.0.0) 3.  Oracle Commerce Developer Studio (11.2.0.0.0) 4.  Or...