Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86FD6D45C for ; Mon, 22 Oct 2012 18:14:13 +0000 (UTC) Received: (qmail 62364 invoked by uid 500); 22 Oct 2012 18:14:13 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 62311 invoked by uid 500); 22 Oct 2012 18:14:13 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 62302 invoked by uid 99); 22 Oct 2012 18:14:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 18:14:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 18:14:08 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5164523888EA; Mon, 22 Oct 2012 18:13:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1400978 - in /cxf/trunk/distribution/src/main/release/samples/jms_spring_config: ./ src/main/config/ src/main/resources/ wsdl/ Date: Mon, 22 Oct 2012 18:13:23 -0000 To: commits@cxf.apache.org From: gmazza@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121022181323.5164523888EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gmazza Date: Mon Oct 22 18:13:22 2012 New Revision: 1400978 URL: http://svn.apache.org/viewvc?rev=1400978&view=rev Log: Text, formatting updates to jms_spring_config sample Added: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml Removed: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/wsdl/ Modified: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml Modified: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt?rev=1400978&r1=1400977&r2=1400978&view=diff ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt (original) +++ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/README.txt Mon Oct 22 18:13:22 2012 @@ -1,8 +1,10 @@ JMS Spring Config Demo ====================== -This is basically the wsdl first demo adapted to the jms transport. It uses the jms config feature so the jms transport can be -added to any existing service without changing the wsdl. +This is basically the wsdl first demo adapted to the JMS transport. It uses the JMS config feature so +the JMS transport can be added to any existing service without changing the wsdl (leaving the wsdl:service +section disregarded.) While the service is deployed on Tomcat, no http traffic is used to connect +with the web service, instead the JMS transport is used. The Demo consist of three parts: @@ -21,9 +23,8 @@ zero objects would be used. This is main For any other name the method will return a list of two Customer objects. The number of objects can be increased to test how fast CXF works for larger data. -Now that the service is implemented it needs to be made available. In this example a standalone server is used. -This can be done either with the JAX-WS API demonstrated in the class CustomerService or using a spring config as -demonstrated in the class CustomerServiceSpringServer. +Now that the service is implemented it needs to be made available. In this example a standalone server is deployed +via a WAR archive using the Spring config as demonstrated in the class CustomerServiceSpringServer. Client implementation --------------------- @@ -52,7 +53,7 @@ located), the pom.xml file is used to bu Using either UNIX or Windows: - mvn install (builds the demo) + mvn clean install (builds the demo) mvn -Pjms.broker (from one command line window) mvn -Pserver (from as second command line window) mvn -Pclient (from a third command line window) Modified: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml?rev=1400978&r1=1400977&r2=1400978&view=diff ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml (original) +++ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/pom.xml Mon Oct 22 18:13:22 2012 @@ -30,11 +30,14 @@ cxf-samples 2.7.1-SNAPSHOT + ${project.version} 2.6.0 ${basedir}/../.. + ${basedir}/src/main/config + install @@ -54,7 +57,7 @@ src/main/webapp/WEB-INF/web.xml - wsdl + ${wsdl.dir} WEB-INF *.wsdl @@ -91,9 +94,9 @@ - ${basedir}/wsdl/CustomerService.wsdl + ${wsdl.dir}/CustomerService.wsdl - ${basedir}/wsdl/binding.xml + ${wsdl.dir}/binding.xml @@ -147,7 +150,7 @@ com.example.customerservice.client.CustomerServiceSpringClient - ${basedir}/wsdl/CustomerService.wsdl + ${wsdl.dir}/CustomerService.wsdl Added: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl?rev=1400978&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl (added) +++ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/CustomerService.wsdl Mon Oct 22 18:13:22 2012 @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml?rev=1400978&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml (added) +++ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/config/binding.xml Mon Oct 22 18:13:22 2012 @@ -0,0 +1,17 @@ + + + + + + + + + \ No newline at end of file Modified: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml?rev=1400978&r1=1400977&r2=1400978&view=diff ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml (original) +++ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/client-applicationContext.xml Mon Oct 22 18:13:22 2012 @@ -1,53 +1,51 @@ - + 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. +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" + xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:p="http://www.springframework.org/schema/p" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd + http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd + http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> - - - - - - - + + + + + + + - + - - - - - - - - - - + + + + + + + + + + Modified: cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml?rev=1400978&r1=1400977&r2=1400978&view=diff ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml (original) +++ cxf/trunk/distribution/src/main/release/samples/jms_spring_config/src/main/resources/server-applicationContext.xml Mon Oct 22 18:13:22 2012 @@ -1,49 +1,49 @@ - + 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. +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" + xmlns:p="http://www.springframework.org/schema/p" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd + http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd + http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> - - - - - - - + + + + + + + - + - - - - - - - + + + + + + +