Author: azeez
Date: Thu Jun  4 12:46:37 2009
New Revision: 37821
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=37821

Log:
Fixing MTOM sample

Modified:
   trunk/wsas/java/modules/samples/MTOM/README
   
trunk/wsas/java/modules/samples/MTOM/src/org/wso2/wsas/sample/mtom/client/Client.java

Modified: trunk/wsas/java/modules/samples/MTOM/README
URL: 
http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/samples/MTOM/README?rev=37821&r1=37820&r2=37821&view=diff
==============================================================================
--- trunk/wsas/java/modules/samples/MTOM/README (original)
+++ trunk/wsas/java/modules/samples/MTOM/README Thu Jun  4 12:46:37 2009
@@ -18,8 +18,8 @@
 2. Generated service (MTOMService.aar) gets copied to the 
$WSO2WSAS_HOME/repository/services automatically.
 3. Start WSAS server using $WSO2WSAS_HOME/bin/wso2server.sh or 
$WSO2WSAS_HOME/bin/wso2server.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
+   -file {file that needs to be sent to the service} -fileName {name of file 
to be created on server side} ex:
+   ./run-client.sh -file /tmp/wwe.jpg -fileName wrestling.jpg
 
 
 Note

Modified: 
trunk/wsas/java/modules/samples/MTOM/src/org/wso2/wsas/sample/mtom/client/Client.java
URL: 
http://wso2.org/svn/browse/wso2/trunk/wsas/java/modules/samples/MTOM/src/org/wso2/wsas/sample/mtom/client/Client.java?rev=37821&r1=37820&r2=37821&view=diff
==============================================================================
--- 
trunk/wsas/java/modules/samples/MTOM/src/org/wso2/wsas/sample/mtom/client/Client.java
       (original)
+++ 
trunk/wsas/java/modules/samples/MTOM/src/org/wso2/wsas/sample/mtom/client/Client.java
       Thu Jun  4 12:46:37 2009
@@ -53,7 +53,10 @@
                 });
         if ((invalidOptionsList.size() > 0) || (args.length != 4)) {
             // printUsage();
-            System.out.println("Invalid Parameters.");
+            System.out.println("Usage.");
+            System.out.println("run-client -" + OPTION_FILE + " <file that 
needs to be sent to the service> -" + 
+                               OPTION_FILE_NAME + " <name of file to be 
created on server side>");
+            System.out.println("\n\t e.g., ./run-client.sh -file /tmp/wwe.jpg 
-fileName wrestling.jpg");
             return;
         }
         Map optionsMap = optionsParser.getAllOptions();

_______________________________________________
Wsas-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to