You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ba...@apache.org on 2008/04/04 19:58:41 UTC
svn commit: r644796 - in
/webservices/axis2/trunk/java/modules/samples/jaxws-addressbook: README.txt
pom.xml
Author: barrettj
Date: Fri Apr 4 10:58:39 2008
New Revision: 644796
URL: http://svn.apache.org/viewvc?rev=644796&view=rev
Log:
Update pom.xml and readme based on renaming of sample directory
Modified:
webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/README.txt
webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/pom.xml
Modified: webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/README.txt?rev=644796&r1=644795&r2=644796&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/README.txt (original)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/README.txt Fri Apr 4 10:58:39 2008
@@ -1,4 +1,4 @@
-Axis2 JAX-WS start-from-java (also known as bottoms-up) sample.
+Axis2 JAX-WS sample that uses JAXB artifacts created from a simple schema.
1. Given a simple schema, generate the JAXB artifacts using xjc.
2. With the generated JAXB beans in hand, write the service implementation
@@ -16,7 +16,7 @@
the example directories based on your environment.
- Axis2 binary distribution: AXIS2_HOME=C:\temp\Axis2\axis2-SNAPSHOT
- Java5 JDK: JAVA_HOME=c:\java\java5
-- This example source is in: C:\blddir\eclipse\axis2\jaxws-bottoms-up
+- This example source is in: C:\blddir\eclipse\axis2\jaxws-addressbook
Note that JAVA_HOME is assumed to be on PATH.
@@ -82,7 +82,7 @@
(a) First compile the generated JAXB artifacts, the service implementation, and the dispatch client.
Note that if you are using Eclipse, this step will not be necessary; Eclipse will have compiled the
classes into the 'bin' directory.
-javac -Djava.ext.dirs=C:\temp\Axis2\axis2-SNAPSHOT\lib;C:\java\java5\jre\lib\ext -classpath C:\blddir\eclipse\axis2\jaxws-bottoms-up\bin *.java
+javac -Djava.ext.dirs=C:\temp\Axis2\axis2-SNAPSHOT\lib;C:\java\java5\jre\lib\ext -classpath C:\blddir\eclipse\axis2\jaxws-addressbook\bin *.java
(b) Then create a JAR file containg the service implementation and copy it to
the axis2 repository/servicejars directory. This will cause it to be deployed when the axis2
@@ -102,7 +102,7 @@
[INFO] Deploying JAXWS annotated class org.apache.axis2.jaxws.addressbook.AddressBookImpl as a service - AddressBookImplService.AddressBookImplPort
(d) From another window with the environment setup, run the Dispatch client:
-java -Djava.ext.dirs=C:\temp\Axis2\axis2-SNAPSHOT\lib;C:\java\java5\jre\lib\ext -cp C:\blddir\eclipse\axis2\jaxws-bottoms-up\bin org.apache.axis2.jaxws.addressbook.AddressBookClient.class
+java -Djava.ext.dirs=C:\temp\Axis2\axis2-SNAPSHOT\lib;C:\java\java5\jre\lib\ext -cp C:\blddir\eclipse\axis2\jaxws-addressbook\bin org.apache.axis2.jaxws.addressbook.AddressBookClient.class
Thoughts on improvmenets
========================
Modified: webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/pom.xml?rev=644796&r1=644795&r2=644796&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/jaxws-addressbook/pom.xml Fri Apr 4 10:58:39 2008
@@ -21,7 +21,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.axis2.samples</groupId>
- <artifactId>jaxws-bottoms-up</artifactId>
+ <artifactId>jaxws-addressbook</artifactId>
<packaging>jar</packaging>
<version>SNAPSHOT</version>
<name>JAXWS Addressbook Service</name>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org