<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Stub</id>
		<title>Stub - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Stub"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Stub&amp;action=history"/>
		<updated>2026-04-21T10:05:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Stub&amp;diff=3827&amp;oldid=prev</id>
		<title>Jmanuel_ll: Generate Stub Files for web services</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Stub&amp;diff=3827&amp;oldid=prev"/>
				<updated>2009-05-02T05:43:32Z</updated>
		
		<summary type="html">&lt;p&gt;Generate Stub Files for web services&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;0) Install JSDK , prefer 1.4.2_06&lt;br /&gt;
&lt;br /&gt;
1) Validate the existance of the path: $NX_ROOT/bopcfg/www/CATALINA_BASE/webapps/axis   &lt;br /&gt;
&lt;br /&gt;
2) Set environment variable  AXIS_HOME with value:&lt;br /&gt;
       export AXIS_HOME=$NX_ROOT/bopcfg/www/CATALINA_BASE/webapps/axis&lt;br /&gt;
&lt;br /&gt;
3) Set environment variable AXIS_LIB with value&lt;br /&gt;
      export AXIS_LIB=$AXIS_HOME/WEB-INF/lib&lt;br /&gt;
&lt;br /&gt;
4) Set environment variable AXISCLASSPATH con el valor&lt;br /&gt;
       export          AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:&lt;br /&gt;
                              $AXIS_LIB/commons-logging.jar:$AXIS_LIB/commons-discovery.jar:&lt;br /&gt;
                              $AXIS_LIB/wsdl4j.jar:$AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/axis-ant.jar:$AXIS_LIB/&lt;br /&gt;
&lt;br /&gt;
5) Set environment variable CLASSPATH with value&lt;br /&gt;
      export CLASSPATH=$AXISCLASSPATH&lt;br /&gt;
&lt;br /&gt;
6) Generate stub files by executing&lt;br /&gt;
      cd $AXIS_LIB&lt;br /&gt;
      java org.apache.axis.wsdl.WSDL2Java http://localhost:8080/axis/services/USD_R11_WebService?wsdl&lt;br /&gt;
&lt;br /&gt;
Test method&lt;br /&gt;
&lt;br /&gt;
7) Edit JWS.java modify user and password  and server name&lt;br /&gt;
&lt;br /&gt;
8) Compile java file&lt;br /&gt;
    javac -classpath $AXISCLASSPATH JWS.java&lt;br /&gt;
&lt;br /&gt;
9) Execute compiled file&lt;br /&gt;
        java -cp $AXISCLASSPATH:. JWS&lt;/div&gt;</summary>
		<author><name>Jmanuel_ll</name></author>	</entry>

	</feed>