cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1406336 - in /cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans: pom.xml src/main/java/demo/hw/client/Client.java src/main/java/demo/hw/server/SpringServer.java
Date Tue, 06 Nov 2012 21:08:32 GMT
Author: dkulp
Date: Tue Nov  6 21:08:32 2012
New Revision: 1406336

URL: http://svn.apache.org/viewvc?rev=1406336&view=rev
Log:
 wsdl_first_xmlbeans in m2eclipse

Modified:
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/pom.xml
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/server/SpringServer.java

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/pom.xml?rev=1406336&r1=1406335&r2=1406336&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/pom.xml Tue Nov  6
21:08:32 2012
@@ -62,12 +62,10 @@
 						<configuration>
 							<wsdlOptions>
 								<wsdlOption>
-									<wsdl>${basedir}/wsdl/hello_world.wsdl
-									</wsdl>
-									<extraargs>
-										<extraarg>-db</extraarg>
-										<extraarg>xmlbeans</extraarg>
-									</extraargs>
+									<wsdl>${basedir}/wsdl/hello_world.wsdl</wsdl>
+									<dataBinding>xmlbeans</dataBinding>
+									<frontEnd>jaxws21</frontEnd>
+									<faultSerialVersionUID>1</faultSerialVersionUID>
 								</wsdlOption>
 							</wsdlOptions>
 						</configuration>
@@ -155,7 +153,6 @@
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-context</artifactId>
-            <version>3.0.6.RELEASE</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/client/Client.java?rev=1406336&r1=1406335&r2=1406336&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/client/Client.java
Tue Nov  6 21:08:32 2012
@@ -48,7 +48,7 @@ public final class Client {
         URL wsdlURL;
         File wsdlFile = new File(args[0]);
         if (wsdlFile.exists()) {
-            wsdlURL = wsdlFile.toURL();
+            wsdlURL = wsdlFile.toURI().toURL();
         } else {
             wsdlURL = new URL(args[0]);
         }

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/server/SpringServer.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/server/SpringServer.java?rev=1406336&r1=1406335&r2=1406336&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/server/SpringServer.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_xmlbeans/src/main/java/demo/hw/server/SpringServer.java
Tue Nov  6 21:08:32 2012
@@ -22,11 +22,11 @@ package demo.hw.server;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
 public class SpringServer {
-
+    ClassPathXmlApplicationContext context;
+    
     protected SpringServer() throws Exception {
         System.out.println("Starting Server");
-        ClassPathXmlApplicationContext context 
-            = new ClassPathXmlApplicationContext(new String[] {"/demo/hw/server/server-beans.xml"});
+        context = new ClassPathXmlApplicationContext(new String[] {"/demo/hw/server/server-beans.xml"});
     }
 
     public static void main(String args[]) throws Exception {



Mime
View raw message