cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r588106 - in /incubator/cxf/branches/2.0.x-fixes: ./ distribution/src/main/release/samples/mtom/src/demo/mtom/client/Client.java
Date Thu, 25 Oct 2007 01:35:50 GMT
Author: dkulp
Date: Wed Oct 24 18:35:50 2007
New Revision: 588106

URL: http://svn.apache.org/viewvc?rev=588106&view=rev
Log:
Merged revisions 587657 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r587657 | gmazza | 2007-10-23 17:20:40 -0400 (Tue, 23 Oct 2007) | 1 line
  
  Clean up output messages.
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/mtom/src/demo/mtom/client/Client.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/mtom/src/demo/mtom/client/Client.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/mtom/src/demo/mtom/client/Client.java?rev=588106&r1=588105&r2=588106&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/mtom/src/demo/mtom/client/Client.java
(original)
+++ incubator/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/mtom/src/demo/mtom/client/Client.java
Wed Oct 24 18:35:50 2007
@@ -52,7 +52,7 @@
         Client client = new Client();
 
         if (args.length == 0) {
-            System.out.println("please specify wsdl");
+            System.out.println("Please specify the WSDL file.");
             System.exit(1);
         }
         URL wsdlURL;
@@ -77,21 +77,21 @@
         }
         Holder<byte[]> param = new Holder<byte[]>();
         param.value = new byte[(int) fileSize];
-        System.out.println("Start test without Mtom enable!");
-        System.out.println("Sending out the me.bmp Image content to server, data size is
" + fileSize);
+        System.out.println("Start test without MTOM enabled:");
+        System.out.println("Sending out the me.bmp image content to server, data size is
" + fileSize);
 
         InputStream in = client.getClass().getResourceAsStream("me.bmp");
         in.read(param.value);
         Holder<String> name = new Holder<String>("call detail");
         port.testXop(name, param);
-        System.out.println("received byte[] back from server, the size is " + param.value.length);
+        System.out.println("Received byte[] back from server, returned size is " + param.value.length);
 
         Image image = ImageIO.read(new ByteArrayInputStream(param.value));
-        System.out.println("build image with the returned byte[] back from server successfully,
hashCode="
+        System.out.println("Build image with the returned byte[] back from server successfully,
hashCode="
                 + image.hashCode());
-        System.out.println("Successfully run demo without mtom enable");
+        System.out.println("Successfully ran demo without MTOM enabled");
 
-        System.out.println("Start test with Mtom enable!");        
+        System.out.println("Start test with MTOM enabled:");        
         System.out.println("Sending out the me.bmp Image content to server, data size is
" + fileSize);
         Holder<DataHandler> handler = new Holder<DataHandler>();
         byte[] data = new byte[(int) fileSize];
@@ -105,8 +105,8 @@
             fileSize++;
         }
 
-        System.out.println("received DataHandler back from server, the size is " + fileSize);
-        System.out.println("Successfully run demo with mtom enable");
+        System.out.println("Received DataHandler back from server, returned size is " + fileSize);
+        System.out.println("Successfully ran demo with MTOM enabled");
         System.exit(0);
     }
 



Mime
View raw message