Author: ffang
Date: Tue Jun 12 21:21:02 2007
New Revision: 546732

URL: http://svn.apache.org/viewvc?view=rev&rev=546732
Log:
enable spring validation for hello_world sample, get mtom servlet mode working

Modified:
    
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
    
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/server/Server.java
    incubator/cxf/trunk/distribution/src/main/release/samples/mtom/build.xml

Modified: 
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java?view=diff&rev=546732&r1=546731&r2=546732
==============================================================================
--- 
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
 (original)
+++ 
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
 Tue Jun 12 21:21:02 2007
@@ -52,7 +52,6 @@
         }
         
         System.out.println(wsdlURL);
-        System.setProperty("spring.validation.mode", "VALIDATION_NONE");
         SOAPService ss = new SOAPService(wsdlURL, SERVICE_NAME);
         Greeter port = ss.getSoapPort();
         String resp; 

Modified: 
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/server/Server.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/server/Server.java?view=diff&rev=546732&r1=546731&r2=546732
==============================================================================
--- 
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/server/Server.java
 (original)
+++ 
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/server/Server.java
 Tue Jun 12 21:21:02 2007
@@ -25,7 +25,6 @@
 
     protected Server() throws Exception {
         System.out.println("Starting Server");
-        System.setProperty("spring.validation.mode", "VALIDATION_NONE");
         Object implementor = new GreeterImpl();
         String address = "http://localhost:9000/SoapContext/SoapPort";;
         Endpoint.publish(address, implementor);

Modified: 
incubator/cxf/trunk/distribution/src/main/release/samples/mtom/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/mtom/build.xml?view=diff&rev=546732&r1=546731&r2=546732
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/mtom/build.xml 
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/mtom/build.xml 
Tue Jun 12 21:21:02 2007
@@ -44,7 +44,7 @@
         <copy toFile="${build.classes.dir}/demo/mtom/client/me.bmp" 
file="${basedir}/src/demo/mtom/client/me.bmp"/>
         <cxfwar wsdl="*.*" filename="mtom.war"/>
        </target>
-
+    <property name="cxf.war.file.name" value="mtom"/>
     <target name="client-servlet" description="run demo client hitting 
servlet" depends="build">
         <property name="param" value=""/>
         <cxfrun classname="demo.mtom.client.Client" 
param1="${base.url}/mtom/services/mtom?wsdl" param2="${op}"/>


Reply via email to