cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1304053 - in /cxf/trunk/distribution/src/main/release/samples: java_first_jaxws/pom.xml java_first_jaxws/src/main/java/demo/hw/client/Client.java wsdl_first/pom.xml wsdl_first/src/main/resources/CustomerService.wsdl
Date Thu, 22 Mar 2012 20:55:58 GMT
Author: gmazza
Date: Thu Mar 22 20:55:58 2012
New Revision: 1304053

URL: http://svn.apache.org/viewvc?rev=1304053&view=rev
Log:
Spring libraries added to support Tomcat deployment on WSDL- and Java-first samples.

Modified:
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml
    cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/CustomerService.wsdl

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml?rev=1304053&r1=1304052&r2=1304053&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml Thu Mar 22 20:55:58
2012
@@ -132,6 +132,11 @@
             <version>2.6.0-SNAPSHOT</version>
         </dependency>
         <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-web</artifactId>
+            <version>3.0.6.RELEASE</version>
+        </dependency> 
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <scope>test</scope>

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java?rev=1304053&r1=1304052&r2=1304053&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
Thu Mar 22 20:55:58 2012
@@ -44,9 +44,8 @@ public final class Client {
         Service service = Service.create(SERVICE_NAME);
         // Endpoint Address
         String endpointAddress = "http://localhost:9000/helloWorld";
-        // If doing Tomcat deployment, endpoint will be similar to:
-        // String endpointAddress 
-        //    = "http://localhost:8080/java_first_jaxws-2.6-0-SNAPSHOT/services/hello_world";
+        // If web service deployed on Tomcat deployment, endpoint should be changed to:
+        // http://localhost:8080/java_first_jaxws-<cxf-version>/services/hello_world
 
         // Add a port to the Service
         service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING, endpointAddress);

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml?rev=1304053&r1=1304052&r2=1304053&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml Thu Mar 22 20:55:58
2012
@@ -180,9 +180,9 @@
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
-            <artifactId>spring-context</artifactId>
+            <artifactId>spring-web</artifactId>
             <version>3.0.6.RELEASE</version>
-        </dependency>
+        </dependency> 
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/CustomerService.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/CustomerService.wsdl?rev=1304053&r1=1304052&r2=1304053&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/CustomerService.wsdl
(original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/CustomerService.wsdl
Thu Mar 22 20:55:58 2012
@@ -117,8 +117,10 @@
   </wsdl:binding>
   <wsdl:service name="CustomerServiceService">
     <wsdl:port name="CustomerServicePort" binding="tns:CustomerServiceServiceSoapBinding">
+      <!-- embedded deployment -->
       <soap:address location="http://localhost:9090/CustomerServicePort"/>
-      <!--soap:address location="http://localhost:8080/wsdl_first-{CXFVersion}/services/CustomerServicePort?wsdl"/-->
+      <!-- standalone Tomcat deployment -->
+      <!--soap:address location="http://localhost:8080/wsdl_first-<cxf-version>/services/CustomerServicePort"/-->
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>



Mime
View raw message