Author: saminda
Date: Fri Jan 4 08:41:40 2008
New Revision: 11851
Log:
Allowing to get jibx dependencies from MVN repo (org.jibx)
Modified:
trunk/wsas/java/modules/samples/MTOM/README
trunk/wsas/java/pom.xml
Modified: trunk/wsas/java/modules/samples/MTOM/README
==============================================================================
--- trunk/wsas/java/modules/samples/MTOM/README (original)
+++ trunk/wsas/java/modules/samples/MTOM/README Fri Jan 4 08:41:40 2008
@@ -4,22 +4,23 @@
Introduction:
============
-This sample demonstrates the capabilities and power of MTOM support of AXIS2.
In this sample the
-user can send a file to the service.
+This sample demonstrates the capabilities and power of MTOM. MTOM Web Service
accepts a
+fileName and DataHandler. This DataHandler contains the binary content which
will eventually save to a
+temporary location to the given fileName.
Prerequisites
=============
-Apache Ant 1.6.2 or later
+Apache Ant 1.6.2 or higher.
Running the Sample:
===================
-1. Use ant generate.service or just the ant command alone in the
Axis2_HOME/sample/mtom/ to build the service.
-2. Generated service gets copied to the AXIS2_HOME/repository/services
automatically.
-3. Run the AXIS2_HOME/bin/axis2server.{sh/bat} to start the standalone axis2
server. (Alternatively
- you can drop the sample into the services directory of a Axis2 server
running in a servlet container)
-4. Use ant generate.client to build the client.
-5. Use ant run.client -Dfile "file to be sent" -Ddest "destination file name"
to run the client.
+1. Use "ant generate.service" or just "ant" command in the
Axis2_HOME/sample/MTOM/ to build the service.
+2. Generated service (MTOMSample.aar) gets copied to the
$WSO2WSAS_HOME/repository/services automatically.
+3. Start WSAS server using $WSO2WSAS_HOME/bin/wso2wsas.sh or
$WSO2WSAS_HOME/bin/wso2wsas.bat.
+4. Use the script run-client.sh or run-client.bat file to invoke the client
using arguments
+ -file {file that need to be send to the service} -fileName {name to be
copied on server side} ex:
+ ./run-client.sh -file /tmp/wwe.jpg -fileName wresting.jpg
Note
Modified: trunk/wsas/java/pom.xml
==============================================================================
--- trunk/wsas/java/pom.xml (original)
+++ trunk/wsas/java/pom.xml Fri Jan 4 08:41:40 2008
@@ -398,12 +398,6 @@
<id>ws-zones-repository</id>
<url>http://ws.zones.apache.org/repository2</url>
</repository>
- <repository>
- <id>jibx</id>
- <name>Jibx Repository</name>
- <url>http://jibx.sourceforge.net/maven</url>
- <layout>legacy</layout>
- </repository>
<!-- Others are available from http://repo1.maven.org/maven2 -->
</repositories>
@@ -1712,7 +1706,7 @@
<version>${wrapper.version}</version>
</dependency>
- <!--Jaxws related TODO -->
+ <!--Jaxws related -->
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-jaxws</artifactId>
@@ -1866,16 +1860,24 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>jibx</groupId>
+ <artifactId>jibx-bind</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jibx</groupId>
+ <artifactId>jibx-run</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
- <groupId>jibx</groupId>
+ <groupId>org.jibx</groupId>
<artifactId>jibx-bind</artifactId>
<version>${jibx.version}</version>
</dependency>
<dependency>
- <groupId>jibx</groupId>
+ <groupId>org.jibx</groupId>
<artifactId>jibx-run</artifactId>
<version>${jibx.version}</version>
</dependency>
@@ -1998,7 +2000,6 @@
</distributionManagement>
<properties>
- <!-- TODO trying with the latest Axis2 -->
<axis2.version>SNAPSHOT</axis2.version>
<axis2.clustering.version>SNAPSHOT</axis2.clustering.version>
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev