cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1373525 - in /cxf/branches/2.6.x-fixes/distribution/src/main/release: etc/ samples/groovy_spring_support/ samples/groovy_spring_support/src/main/webapp/WEB-INF/ samples/java_first_jaxws/ samples/java_first_jaxws/src/main/java/demo/hw/clien...
Date Wed, 15 Aug 2012 16:47:24 GMT
Author: gmazza
Date: Wed Aug 15 16:47:23 2012
New Revision: 1373525

URL: http://svn.apache.org/viewvc?rev=1373525&view=rev
Log:
Placing web.xml in each sample that needs it.

Added:
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/main/webapp/WEB-INF/web.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/webapp/WEB-INF/web.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/main/webapp/WEB-INF/web.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/src/main/webapp/
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/src/main/webapp/WEB-INF/
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/src/main/webapp/WEB-INF/web.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/main/webapp/WEB-INF/web.xml
Removed:
    cxf/branches/2.6.x-fixes/distribution/src/main/release/etc/web.xml
Modified:
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/pom.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/README.txt
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/pom.xml
    cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/pom.xml

Modified: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/pom.xml?rev=1373525&r1=1373524&r2=1373525&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/pom.xml
(original)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/pom.xml
Wed Aug 15 16:47:23 2012
@@ -42,7 +42,7 @@
                     <artifactId>maven-war-plugin</artifactId>
                     <version>2.1</version>
                     <configuration>
-                        <webXml>${cxf.release.base}/etc/web.xml</webXml>
+                        <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
                     </configuration>
                 </plugin>
             </plugins>

Added: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/main/webapp/WEB-INF/web.xml?rev=1373525&view=auto
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/main/webapp/WEB-INF/web.xml
(added)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/groovy_spring_support/src/main/webapp/WEB-INF/web.xml
Wed Aug 15 16:47:23 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
+         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+    <display-name>cxf</display-name>
+
+    <servlet>
+        <servlet-name>cxf</servlet-name>
+        <display-name>cxf</display-name>
+        <description>Apache CXF Endpoint</description>
+        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>cxf</servlet-name>
+        <url-pattern>/services/*</url-pattern>
+    </servlet-mapping>
+
+    <session-config>
+        <session-timeout>60</session-timeout>
+    </session-config>
+
+</web-app>
+

Modified: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/README.txt
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/README.txt?rev=1373525&r1=1373524&r2=1373525&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/README.txt
(original)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/README.txt
Wed Aug 15 16:47:23 2012
@@ -21,13 +21,9 @@ files, run "mvn clean".
 
 Alternative: WAR deployment of service in a servlet container (e.g. Tomcat)
 ---------------------------------------------------------------------------
-
 1.) Update the endpointAddress value in the client.Client class to the WAR-hosted 
-value. The endpointAddress value will be installation-specific, but could be 
-"http://localhost:8080/java_first_jaxws-{CXF Version}/services/hello_world" 
-for a default local installation of Tomcat.  Replace {CXF Version} with the
-CXF version declared in the parent POM -- for example, "2.6.1", "2.6.1-SNAPSHOT", 
-etc.
+value, for running this sample on your local machine most likely:
+"http://localhost:8080/java_first_jaxws/services/hello_world".
 
 2.) Manually copy the generated WAR file to the Tomcat webapps folder, or, if you
 have Maven and Tomcat set up to use the Tomcat Maven Plugin 
@@ -38,4 +34,5 @@ switching to the the Tomcat 6-specific "
 
 Prior to running the client (mvn -Pclient) good to confirm the generated WSDL 
 can be seen from a web browser at: 
-http://{server}:{port}/java_first_jaxws-{CXF Version}/services/hello_world?wsdl
+http://localhost:8080/java_first_jaxws/services/hello_world?wsdl
+

Modified: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml?rev=1373525&r1=1373524&r2=1373525&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml
(original)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml
Wed Aug 15 16:47:23 2012
@@ -47,7 +47,7 @@
                 <artifactId>maven-war-plugin</artifactId>
                 <version>2.1</version>
                 <configuration>
-                    <webXml>${cxf.release.base}/etc/web.xml</webXml>
+                    <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
                 </configuration>
             </plugin>
             <plugin>
@@ -64,6 +64,7 @@
                 </configuration>
             </plugin>
         </plugins>
+        <finalName>java_first_jaxws</finalName>
     </build>
     <profiles>
         <profile>

Modified: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java?rev=1373525&r1=1373524&r2=1373525&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
(original)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/client/Client.java
Wed Aug 15 16:47:23 2012
@@ -45,7 +45,7 @@ public final class Client {
         // Endpoint Address
         String endpointAddress = "http://localhost:9000/helloWorld";
         // If web service deployed on Tomcat deployment, endpoint should be changed to:
-        // http://localhost:8080/java_first_jaxws-<cxf-version>/services/hello_world
+        // String endpointAddress = "http://localhost:8080/java_first_jaxws/services/hello_world";
 
         // Add a port to the Service
         service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING, endpointAddress);

Added: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/webapp/WEB-INF/web.xml?rev=1373525&view=auto
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/webapp/WEB-INF/web.xml
(added)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_jaxws/src/main/webapp/WEB-INF/web.xml
Wed Aug 15 16:47:23 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
+         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+    <display-name>cxf</display-name>
+
+    <servlet>
+        <servlet-name>cxf</servlet-name>
+        <display-name>cxf</display-name>
+        <description>Apache CXF Endpoint</description>
+        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>cxf</servlet-name>
+        <url-pattern>/services/*</url-pattern>
+    </servlet-mapping>
+
+    <session-config>
+        <session-timeout>60</session-timeout>
+    </session-config>
+
+</web-app>
+

Modified: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml?rev=1373525&r1=1373524&r2=1373525&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml
(original)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml
Wed Aug 15 16:47:23 2012
@@ -40,7 +40,7 @@
                 <artifactId>maven-war-plugin</artifactId>
                 <version>2.1</version>
                 <configuration>
-                    <webXml>${cxf.release.base}/etc/web.xml</webXml>
+                    <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
                 </configuration>
             </plugin>
         </plugins>

Added: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/main/webapp/WEB-INF/web.xml?rev=1373525&view=auto
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/main/webapp/WEB-INF/web.xml
(added)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/java_first_spring_support/src/main/webapp/WEB-INF/web.xml
Wed Aug 15 16:47:23 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
+         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+    <display-name>cxf</display-name>
+
+    <servlet>
+        <servlet-name>cxf</servlet-name>
+        <display-name>cxf</display-name>
+        <description>Apache CXF Endpoint</description>
+        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>cxf</servlet-name>
+        <url-pattern>/services/*</url-pattern>
+    </servlet-mapping>
+
+    <session-config>
+        <session-timeout>60</session-timeout>
+    </session-config>
+
+</web-app>
+

Modified: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/pom.xml?rev=1373525&r1=1373524&r2=1373525&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/pom.xml
(original)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/pom.xml
Wed Aug 15 16:47:23 2012
@@ -51,7 +51,7 @@
                     <artifactId>maven-war-plugin</artifactId>
                     <version>2.1</version>
                     <configuration>
-                        <webXml>${cxf.release.base}/etc/web.xml</webXml>
+                        <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
                         <webResources>
                             <resource>
                                 <directory>wsdl</directory>

Added: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/src/main/webapp/WEB-INF/web.xml?rev=1373525&view=auto
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/src/main/webapp/WEB-INF/web.xml
(added)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/jms_spring_config/src/main/webapp/WEB-INF/web.xml
Wed Aug 15 16:47:23 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
+         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+    <display-name>cxf</display-name>
+
+    <servlet>
+        <servlet-name>cxf</servlet-name>
+        <display-name>cxf</display-name>
+        <description>Apache CXF Endpoint</description>
+        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>cxf</servlet-name>
+        <url-pattern>/services/*</url-pattern>
+    </servlet-mapping>
+
+    <session-config>
+        <session-timeout>60</session-timeout>
+    </session-config>
+
+</web-app>
+

Modified: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/pom.xml?rev=1373525&r1=1373524&r2=1373525&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/pom.xml
(original)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/pom.xml
Wed Aug 15 16:47:23 2012
@@ -42,7 +42,7 @@
                     <artifactId>maven-war-plugin</artifactId>
                     <version>2.1</version>
                     <configuration>
-                        <webXml>${cxf.release.base}/etc/web.xml</webXml>
+                        <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
                     </configuration>
                 </plugin>
             </plugins>

Added: cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/main/webapp/WEB-INF/web.xml?rev=1373525&view=auto
==============================================================================
--- cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/main/webapp/WEB-INF/web.xml
(added)
+++ cxf/branches/2.6.x-fixes/distribution/src/main/release/samples/ruby_spring_support/src/main/webapp/WEB-INF/web.xml
Wed Aug 15 16:47:23 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
+         http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+    <display-name>cxf</display-name>
+
+    <servlet>
+        <servlet-name>cxf</servlet-name>
+        <display-name>cxf</display-name>
+        <description>Apache CXF Endpoint</description>
+        <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>cxf</servlet-name>
+        <url-pattern>/services/*</url-pattern>
+    </servlet-mapping>
+
+    <session-config>
+        <session-timeout>60</session-timeout>
+    </session-config>
+
+</web-app>
+



Mime
View raw message