diff --git a/samples/mtom/client/jax-ws/readme.txt b/samples/mtom/client/jax-ws/readme.txt deleted file mode 100644 index 94586730..00000000 --- a/samples/mtom/client/jax-ws/readme.txt +++ /dev/null @@ -1,11 +0,0 @@ -SPRING WEB SERVICES - -This directory contains a Java client for the MTOM Sample that uses JAX-WS. -The client can be run from the provided ant file, by calling "ant run". -Note that the airline sample has to be running before invoking this target. - -Client Sample table of contents ---------------------------------------------------- -* src - The source files for the client -* build.xml - Ant build file with a 'build' and a 'run' target - diff --git a/samples/mtom/readme.txt b/samples/mtom/readme.txt index b7bfc43c..f2cca447 100644 --- a/samples/mtom/readme.txt +++ b/samples/mtom/readme.txt @@ -7,6 +7,12 @@ This sample shows how to use marshal and unmarshal MTOM attachments using JAXB2. -2. INSTALLATION +2. SERVER -Simply run "mvn package" and deploy the war file generated in target +Simply run "mvn package" in the server directory and deploy the war file generated in 'target'. +Alternatively, run "mvn jetty:run" to run the sample in a built-in Jetty6 Web +container. + +3. CLIENT + +Simply run "mvn install exec:java" in each of the client subdirectories.