Author: jliu
Date: Mon Nov 20 00:46:34 2006
New Revision: 477105

URL: http://svn.apache.org/viewvc?view=rev&rev=477105
Log:
Update several samples' README files.

Modified:
    
incubator/cxf/trunk/distribution/src/main/release/samples/handlers/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/restful/README.txt

Modified: 
incubator/cxf/trunk/distribution/src/main/release/samples/handlers/README.txt
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/handlers/README.txt?view=diff&rev=477105&r1=477104&r2=477105
==============================================================================
--- 
incubator/cxf/trunk/distribution/src/main/release/samples/handlers/README.txt 
(original)
+++ 
incubator/cxf/trunk/distribution/src/main/release/samples/handlers/README.txt 
Mon Nov 20 00:46:34 2006
@@ -40,7 +40,7 @@
   ant client
 
 When using these ant targets, the server process uses the LoggingHandler
-and the client process uses the SmallNumberHandler. Notice that the both
+and the client process uses the SmallNumberHandler. Notice that both
 the client and server consoles display short informative messages. The 
 client handler examines the operation parameters and, based on the 
 parameter values, may decide not to forward the request to the server. The 
server 
@@ -51,14 +51,13 @@
 
   @HandlerChain(file = "../common/demo_handlers.xml", name = 
"DemoHandlerChain")
 
-Look in the build.xml file to see how an argument to the java executable 
specifies
-use of the configuration file.  For example:
+The client side SmallNumberHandler is specified programatically:
+
+    SmallNumberHandler sh = new SmallNumberHandler();
+    List<Handler> newHandlerChain = new ArrayList<Handler>();
+    newHandlerChain.add(sh);
+    ((BindingProvider)port).getBinding().setHandlerChain(newHandlerChain);
 
-  <target name="client" description="run demo client" depends="build">
-    <cxfrun classname="demo.handlers.client.Client"
-               param1="${basedir}/wsdl/addNumbers.wsdl"
-               jvmarg1="-Dcxf.config.file=file:///${basedir}/cxf-client.xml"/>
-  </target>
 
 After running the client, terminate the server process.
 

Modified: 
incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt?view=diff&rev=477105&r1=477104&r2=477105
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt 
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/mtom/README.txt 
Mon Nov 20 00:46:34 2006
@@ -67,12 +67,20 @@
   export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-incubator.jar:./build/classes
   javac -d build/classes src/demo/mtom/client/*.java
   javac -d build/classes src/demo/mtom/server/*.java
-  cp src/demo/mtom/client/me.bmp build/classes/demo/mtom/client/me.bmp
 
 For Windows:
   set classpath=%classpath%;%CXF_HOME%\lib\cxf-incubator.jar;.\build\classes
   javac -d build\classes src\demo\mtom\client\*.java
   javac -d build\classes src\demo\mtom\server\*.java
+
+
+Finally, copy the me.bmp file from the src/demo/mtom/client directory
+into the build/classes/demo/mtom/client directory.
+
+For UNIX:
+  cp ./src/demo/mtom/client/me.bmp ./build/classes/demo/mtom/client/me.bmp
+
+For Windows:
   copy src\demo\mtom\client\me.bmp build\classes\demo\mtom\client\me.bmp
 
 

Modified: 
incubator/cxf/trunk/distribution/src/main/release/samples/restful/README.txt
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/restful/README.txt?view=diff&rev=477105&r1=477104&r2=477105
==============================================================================
--- 
incubator/cxf/trunk/distribution/src/main/release/samples/restful/README.txt 
(original)
+++ 
incubator/cxf/trunk/distribution/src/main/release/samples/restful/README.txt 
Mon Nov 20 00:46:34 2006
@@ -116,12 +116,12 @@
   javac -d build\classes src\demo\restful\server\*.java
 
 
-Next copy resource files to build/classes directory with the commands:
+Finally, copy resource files into the build/classes directory with the 
commands:
 
 For UNIX:  
   
-  cp src/demo/restful/client/*.xml build/classes/demo/restful/client
-  cp src/demo/restful/server/*.xml build/classes/demo/restful/server
+  cp ./src/demo/restful/client/*.xml ./build/classes/demo/restful/client
+  cp ./src/demo/restful/server/*.xml ./build/classes/demo/restful/server
 
 For Windows:
   copy src\demo\restful\client\*.xml build\classes\demo\restful\client


Reply via email to