cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r567010 - in /incubator/cxf/trunk/distribution/src/main/release/samples: configuration_interceptor/ in_jvm_transport/ java_first_jaxws/ jaxws_async/ jaxws_dispatch_provider/ jaxws_handlers/ wsdl_first/ wsdl_first_pure_xml/ wsdl_first_rpclit...
Date Fri, 17 Aug 2007 10:57:05 GMT
Author: blin
Date: Fri Aug 17 03:57:04 2007
New Revision: 567010

URL: http://svn.apache.org/viewvc?view=rev&rev=567010
Log:
[CXF-763] some READMEs cleanup after re-organization. cxf-901 patch needs re-work, since "deploy-tomcat"
target uses "war" target, which is defined in each sample and if certain sample doesn't definte
"war" target, build will fail.  

Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/configuration_interceptor/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/configuration_interceptor/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/configuration_interceptor/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/configuration_interceptor/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/configuration_interceptor/README.txt
Fri Aug 17 03:57:04 2007
@@ -36,7 +36,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/streamInterceptor directory, first create the target
+From the samples/configuration_interceptor directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -71,7 +71,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/streamInterceptor directory run the commands, entered on a
+From the samples/configuration_interceptor directory run the commands, entered on a
 single command line:
 
 For UNIX (must use forward slashes):

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/README.txt
Fri Aug 17 03:57:04 2007
@@ -38,7 +38,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/colocated directory, first create the target
+From the samples/in_jvm_transport directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -71,7 +71,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/colocated directory run the commands, entered on a
+From the samples/in_jvm_transport directory run the commands, entered on a
 single command line:
 
 For UNIX (must use forward slashes):

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt
Fri Aug 17 03:57:04 2007
@@ -1,4 +1,4 @@
-Hello World Demo using Document/Literal Style
+Java First demo using jax-ws APIs and jsr-181
 =============================================
 
 This demo illustrates how to develop a service use the "code first"
@@ -20,50 +20,30 @@
 Building and running the demo using ant
 ---------------------------------------
 
-From the samples/hello_world directory, the ant build script
-can be used to build and run the demo.
+From the base directory of this sample (i.e., where this README file is
+located), the Ant build.xml file can be used to build and run the demo.
+The server and client targets automatically build the demo.
 
 Using either UNIX or Windows:
 
-  ant build
-  ant server
-  ant client
-    
+  ant server  (from one command line window)
+  ant client  (from a second command line window)
 
-To remove the code generated from the WSDL file and the .class
-files, run:
-
-  ant clean
-
-
-
-Building the demo using wsdl2java and javac
+Building the demo using javac
 -------------------------------------------
 
-From the samples/hello_world directory, first create the target
-directory build/classes and then generate code from the WSDL file.
-
-For UNIX:
-  mkdir -p build/classes
-
-  wsdl2java -d build/classes -compile ./wsdl/hello_world.wsdl
-
-For Windows:
-  mkdir build\classes
-    Must use back slashes.
-
-  wsdl2java -d build\classes -compile .\wsdl\hello_world.wsdl
-    May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
+From the samples/java_first_jaxws directory, first create the target
+directory build/classes and then compile the provided client and server code.
 
 For UNIX:  
   
+  mkdir -p build/classes
   export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest-incubator.jar:./build/classes
   javac -d build/classes src/demo/hw/client/*.java
   javac -d build/classes src/demo/hw/server/*.java
 
 For Windows:
+  mkdir build\classes
   set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest-incubator.jar;.\build\classes
   javac -d build\classes src\demo\hw\client\*.java
   javac -d build\classes src\demo\hw\server\*.java
@@ -73,7 +53,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world directory run the commands, entered on a
+From the samples/java_first_jaxws directory run the commands, entered on a
 single command line:
 
 For UNIX (must use forward slashes):
@@ -81,7 +61,7 @@
          demo.hw.server.Server &
 
     java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.hw.client.Client ./wsdl/hello_world.wsdl
+         demo.hw.client.Client
 
 The server process starts in the background.  After running the client,
 use the kill command to terminate the server process.
@@ -92,64 +72,7 @@
          demo.hw.server.Server
 
     java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.hw.client.Client .\wsdl\hello_world.wsdl
+       demo.hw.client.Client
 
 A new command windows opens for the server process.  After running the
 client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
-  ant clean
-
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet container.
-
-Using ant, run the client application with the command:
-
-  ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
-  ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant client-servlet
-
-Using java, run the client application with the command:
-
-  For UNIX:
-    
-    java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
-         demo.hw.client.Client http://localhost:#/helloworld/services/hello_world?wsdl
-
-  For Windows:
-
-    java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
-       demo.hw.client.Client http://localhost:#/helloworld/services/hello_world?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Undeploy the application from the APACHE TOMCAT with the command:
-
-   ant undeploy -Dtomcat=true
-
-
-Running demo with HTTP GET
-----------------------------------------------------
-APACHE CXF support HTTP GET to invoke the service, instead of running 
-
-   ant client
-
-you can use 
-
-   ant client.get 
-
-to invoke the service with simple HttpURLConnection, or you can even
-use your favoriate browser to get the results back.
\ No newline at end of file

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt Fri Aug
17 03:57:04 2007
@@ -1,4 +1,4 @@
-Hello World Asynchronous Demo using Document/Literal Style
+JAX-WS Asynchronous Demo using Document/Literal Style
 ==========================================================
 
 This demo illustrates the use of the JAX-WS asynchronous 
@@ -69,7 +69,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/hello_world_async directory, run the following wsdl2java 
+From the samples/jaxws_async directory, run the following wsdl2java 
 command to generate classes required in the async case.
 
 For UNIX:
@@ -100,7 +100,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world_async directory run the commands, entered on a
+From the samples/jaxws_async directory run the commands, entered on a
 single command line:
 
 For UNIX (must use forward slashes):

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt
Fri Aug 17 03:57:04 2007
@@ -1,4 +1,4 @@
-Hello World Dispatch Demo using Document/Literal Style
+JAX-WS Dispatch/Provider Demo 
 ======================================================
 
 The demo demonstrates the use of JAX-WS Dispatch and Provider interface.
@@ -46,7 +46,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/dispatch_provider directory, first create the target
+From the samples/jaxws_dispatch_provider directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -89,7 +89,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world_dispatch directory run the commands, entered on a
+From the samples/jaxws_dispatch directory run the commands, entered on a
 single command line:
 
 For UNIX (must use forward slashes):

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt Fri
Aug 17 03:57:04 2007
@@ -1,4 +1,4 @@
-Handler Demo
+JAX-WS Handler Demo
 ============
 
 This demo shows how JAX-WS handlers are used.  The server uses a
@@ -67,7 +67,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/handlers directory, first create the target directory
+From the samples/jaxws_handlers directory, first create the target directory
 build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -110,7 +110,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/handlers directory run the commands (entered on a single command line):
+From the samples/jaxws_handlers directory run the commands (entered on a single command line):
 
 For UNIX (must use forward slashes):
     java -Djava.util.logging.config.file=$CXF_HOME%/etc/logging.properties

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt Fri Aug
17 03:57:04 2007
@@ -64,7 +64,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/hello_world directory, first create the target
+From the samples/wsdl_first directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -97,7 +97,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world directory run the commands, entered on a
+From the samples/wsdl_first directory run the commands, entered on a
 single command line:
 
 For UNIX (must use forward slashes):
@@ -173,4 +173,4 @@
    ant client.get 
 
 to invoke the service with simple HttpURLConnection, or you can even
-use your favorite browser to get the results back.
\ No newline at end of file
+use your favorite browser to get the results back.

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
Fri Aug 17 03:57:04 2007
@@ -1,4 +1,4 @@
-Hello World Demo using BARE Style in XML Binding
+Hello World Demo using BARE Style in XML Binding (pure XML over HTTP)
 =============================================
 
 This demo illustrates the use of Apache CXF's xml binding. This 
@@ -42,7 +42,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/hello_world_xml_bare directory, first create the target
+From the samples/wsdl_first_pure_xml directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -75,7 +75,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world_xml_bare directory run the following 
+From the samples/wsdl_first_pure_xml directory run the following 
 commands. They are entered on a single command line.
 
 For UNIX (must use forward slashes):

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
Fri Aug 17 03:57:04 2007
@@ -40,7 +40,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/hello_world_RPCLit directory, first create the target
+From the samples/wsdl_first_rpclit directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -73,7 +73,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world_RPCLit directory run the following 
+From the samples/wsdl_first_rpclit directory run the following 
 commands. They are entered on a single command line:
 
 For UNIX (must use forward slashes):
@@ -152,4 +152,4 @@
    ant client.get 
 
 to invoke the service with simple HttpURLConnection, or you can even
-use your favoriate browser to get the results back.
\ No newline at end of file
+use your favoriate browser to get the results back.

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
Fri Aug 17 03:57:04 2007
@@ -41,7 +41,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/hello_world directory, first create the target
+From the samples/wsdl_first_soap12 directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -74,7 +74,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world directory run the following commands. 
+From the samples/wsdl_first_soap12 directory run the following commands. 
 They are entered on a single command line:
 
 For UNIX (must use forward slashes):

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt?view=diff&rev=567010&r1=567009&r2=567010
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
Fri Aug 17 03:57:04 2007
@@ -1,4 +1,4 @@
-Hello World Demo using WRAPPED Style in XML Binding
+Hello World Demo using WRAPPED Style in XML Binding (pure XML over HTTP)
 =============================================
 
 This demo illustrates the use of Apache CXF's xml binding. This 
@@ -42,7 +42,7 @@
 Building the demo using wsdl2java and javac
 -------------------------------------------
 
-From the samples/hello_world_xml_wrapped directory, first create the target
+From the samples/wsdl_first_xml_wrapped directory, first create the target
 directory build/classes and then generate code from the WSDL file.
 
 For UNIX:
@@ -75,7 +75,7 @@
 Running the demo using java
 ---------------------------
 
-From the samples/hello_world_xml_wrapped directory run the commands, entered 
+From the samples/wsdl_first_xml_wrapped directory run the commands, entered 
 on a single command line:
 
 For UNIX (must use forward slashes):



Mime
View raw message