You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2008/03/28 03:19:27 UTC

svn commit: r642066 - in /webservices/axis2/trunk/java/modules/samples/jaxws-calculator: README.txt pom.xml

Author: dims
Date: Thu Mar 27 19:19:16 2008
New Revision: 642066

URL: http://svn.apache.org/viewvc?rev=642066&view=rev
Log:
generate a client only jar and update README for issue AXIS2-3663

Modified:
    webservices/axis2/trunk/java/modules/samples/jaxws-calculator/README.txt
    webservices/axis2/trunk/java/modules/samples/jaxws-calculator/pom.xml

Modified: webservices/axis2/trunk/java/modules/samples/jaxws-calculator/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-calculator/README.txt?rev=642066&r1=642065&r2=642066&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-calculator/README.txt (original)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-calculator/README.txt Thu Mar 27 19:19:16 2008
@@ -28,7 +28,12 @@
 Running the Client
 ==================
 
-generate the client stubs pointing to the wsdl and invoke the service with appropriate client
+1. Set up a CLASSPATH with the following 
+- all the jars in <AXIS2_HOME/lib>
+- the jaxws-calculator-SNAPSHOT-client.jar under the target directory
+- addressing mar in <AXIS2_HOME/repository/modules>
+
+2. Run the client using say "java -classpath %CLASSPATH% org.apache.axis2.jaxws.calculator.client.AddSEIClient 3 33"
 
 Help
 ====

Modified: webservices/axis2/trunk/java/modules/samples/jaxws-calculator/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-calculator/pom.xml?rev=642066&r1=642065&r2=642066&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-calculator/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-calculator/pom.xml Thu Mar 27 19:19:16 2008
@@ -35,6 +35,24 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                        <configuration>
+                            <classifier>client</classifier>
+                            <includes>
+                                <include>**/client/*</include>
+                            </includes>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
                     <source>1.5</source>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org