Updated MTOM sample to use maven

This commit is contained in:
Arjen Poutsma
2010-02-26 10:23:19 +00:00
parent 921a6b2b58
commit b71416c539
2 changed files with 8 additions and 13 deletions

View File

@@ -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

View File

@@ -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.