You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by ro...@apache.org on 2004/06/15 09:38:34 UTC

cvs commit: ws-site/targets/axis/cpp windev-guide.html

roshan      2004/06/15 00:38:34

  Modified:    targets/axis/cpp windev-guide.html
  Log:
  Changed Building and Running WSDL2Ws on Command Line section in Windows Developers Guide Changed by Sevwandi
  
  Revision  Changes    Path
  1.11      +3 -3      ws-site/targets/axis/cpp/windev-guide.html
  
  Index: windev-guide.html
  ===================================================================
  RCS file: /home/cvs/ws-site/targets/axis/cpp/windev-guide.html,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- windev-guide.html	14 Jun 2004 14:04:31 -0000	1.10
  +++ windev-guide.html	15 Jun 2004 07:38:34 -0000	1.11
  @@ -488,13 +488,13 @@
   <p>For building WSDL2Ws java tool on the command line you require jdk1.4 or above.<br>
   <br>To build WSDL2Ws java tool you should set the CLASSPATH Environment Variable to point to the following jar files.Create a New Folder called wsdl2wsTool\lib and put those jars in it. You can find these jars in [CHECKOUT_HOME]\lib\axisjava.<br>
   <br>axis.jar<br>commons-discovery.jar<br>commons-logging.jar<br>jaxrpc.jar<br>saaj.jar<br>wsdl4j.jar<br>xml-apis.jar<br>
  -<br>In adition to above jars You have to create the wsdl2ws.jar which is the jar file for the tool.<br>The CLASSPATH Environment Variable should have the absolute paths of the jars (including the jar file name) given as a semicolon separated list.<br>
   <br>Open a command window.<br>Change directory to [CHECKOUT_HOME]\c\src\wsdl.<br>We will refer to this directory as [SKELSTUB_HOME] as we did during generating Skeletons/Wrappers and Stubs with eclipse.<br>Run the following command to build the java tool.<br>
  -<strong>javac -sourcepath . org\apache\axis\wsdl\wsdl2ws\WSDL2Ws.java</strong>
  +<strong>javac -sourcepath . org\apache\axis\wsdl\wsdl2ws\WSDL2Ws*.java</strong>
   <br>NOTE: Notice the spaces between the "dot" after the -sourcepath switch<br>If the command finishes without any output then the java tool has been built.<br>
   <br>Now copy the Calculator.wsdl file in [CHECKOUT_HOME]\c\samples\server\simple, which we use in this example to [SKELSTUB_HOME]<br>
   <br>Now run the following command to generate the server side skeletons and wrappers in the same [SKELSTUB_HOME].<br>
  -<br>Java -classpath %classpath%;. org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ServerOut -lc++ -sserver<br>
  +<br>Java -classpath .;%classpath% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ServerOut -lc++ -sserver<br>
  +<br>You must give the class path exactly as above in that order.<br>
   <br>If the tool is successful the tool will display the files it has generated. The skeletons and stubs will be generated in [SKELSTUB_HOME]\ServerOut.<br>
   <br>Run the following command to generate the client stubs.<br>
   <br>Java -classpath %classpath%;. org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ClientOut -lc++ -sclient<br>