Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 19631 invoked from network); 17 Sep 2009 23:10:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 23:10:21 -0000 Received: (qmail 29109 invoked by uid 500); 17 Sep 2009 23:10:21 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 29032 invoked by uid 500); 17 Sep 2009 23:10:21 -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 29023 invoked by uid 99); 17 Sep 2009 23:10:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 23:10:21 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT 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; Thu, 17 Sep 2009 23:10:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 92F0E2388905; Thu, 17 Sep 2009 23:09:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r816407 - in /cxf/trunk/distribution: ./ src/main/release/samples/wsdl_first/ src/main/release/samples/wsdl_first/src/demo/ src/main/release/samples/wsdl_first/src/main/ src/main/release/samples/wsdl_first/src/main/java/ src/main/release/sa... Date: Thu, 17 Sep 2009 23:09:44 -0000 To: commits@cxf.apache.org From: cschneider@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090917230944.92F0E2388905@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cschneider Date: Thu Sep 17 23:09:43 2009 New Revision: 816407 URL: http://svn.apache.org/viewvc?rev=816407&view=rev Log: (empty) Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceSpringClient.java cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/client-beans.xml cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceImpl.java cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceServer.java cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/client-applicationContext.xml cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/cxf-servlet.xml cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/log4j.conf cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/server-applicationContext.xml cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/CustomerService.wsdl (with props) cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/binding.xml (with props) Removed: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/demo/ cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/cxf-servlet.xml cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/hello_world.wsdl Modified: cxf/trunk/distribution/pom.xml cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt cxf/trunk/distribution/src/main/release/samples/wsdl_first/build.xml cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml Modified: cxf/trunk/distribution/pom.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/pom.xml?rev=816407&r1=816406&r2=816407&view=diff ============================================================================== --- cxf/trunk/distribution/pom.xml (original) +++ cxf/trunk/distribution/pom.xml Thu Sep 17 23:09:43 2009 @@ -276,6 +276,11 @@ com.sun.xml.fastinfoset FastInfoset + + junit + junit + compile + ant Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt?rev=816407&r1=816406&r2=816407&view=diff ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt (original) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt Thu Sep 17 23:09:43 2009 @@ -120,10 +120,10 @@ For UNIX (must use forward slashes): java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties - demo.hw.server.Server & + com.example.customerservice.server.Server & java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties - demo.hw.client.Client ./wsdl/hello_world.wsdl + com.example.customerservice.client.Client ./wsdl/hello_world.wsdl The server process starts in the background. After running the client, use the kill command to terminate the server process. @@ -131,10 +131,10 @@ For Windows (may use either forward or back slashes): start java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties - demo.hw.server.Server + com.example.customerservice.server.Server java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties - demo.hw.client.Client .\wsdl\hello_world.wsdl + com.example.customerservice.client.Client .\wsdl\hello_world.wsdl A new command windows opens for the server process. After running the client, terminate the server process by issuing Ctrl-C in its command window. @@ -167,12 +167,12 @@ For UNIX: java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties - demo.hw.client.Client http://localhost:#/helloworld/services/hello_world?wsdl + com.example.customerservice.client.Client http://localhost:#/helloworld/services/hello_world?wsdl For Windows: java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties - demo.hw.client.Client http://localhost:#/helloworld/services/hello_world?wsdl + com.example.customerservice.client.Client http://localhost:#/helloworld/services/hello_world?wsdl Where # is the TCP/IP port used by the servlet container, e.g., 8080. Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first/build.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/build.xml?rev=816407&r1=816406&r2=816407&view=diff ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/build.xml (original) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/build.xml Thu Sep 17 23:09:43 2009 @@ -23,38 +23,25 @@ - + - + - + - + - - - - - - - + @@ -64,6 +51,6 @@ - + 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=816407&r1=816406&r2=816407&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 Sep 17 23:09:43 2009 @@ -26,7 +26,14 @@ [2,) - src + + + wsdl + + + src/main/resources + + maven-compiler-plugin @@ -46,7 +53,10 @@ - ${basedir}/wsdl/hello_world.wsdl + ${basedir}/wsdl/CustomerService.wsdl + + ${basedir}/wsdl/binding.xml + @@ -57,7 +67,7 @@ - + server @@ -74,7 +84,7 @@ java - demo.hw.server.Server + com.example.customerservice.server.CustomerServiceServer @@ -97,7 +107,7 @@ java - demo.hw.client.Client + com.example.customerservice.client.CustomerServiceClient ${basedir}/wsdl/hello_world.wsdl @@ -119,7 +129,7 @@ true - + java.net http://download.java.net/maven/1/ @@ -167,5 +177,10 @@ cxf-rt-transports-http-jetty ${cxf.version} + + junit + junit + 4.7 + Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java Thu Sep 17 23:09:43 2009 @@ -0,0 +1,40 @@ +/** + * 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. + */ +package com.example.customerservice.client; + +import com.example.customerservice.CustomerService; +import com.example.customerservice.CustomerServiceService; +import com.example.customerservice.NoSuchCustomerException; + +public class CustomerServiceClient { + protected CustomerServiceClient() { + } + + public static void main(String args[]) throws NoSuchCustomerException { + // Create the service client with its default wsdlurl + CustomerServiceService customerServiceService = new CustomerServiceService(); + CustomerService customerService = customerServiceService.getCustomerServicePort(); + + // Initialize the test class and call the tests + CustomerServiceTester client = new CustomerServiceTester(); + client.setCustomerService(customerService); + client.testCustomerService(); + System.exit(0); + } +} Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceSpringClient.java URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceSpringClient.java?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceSpringClient.java (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceSpringClient.java Thu Sep 17 23:09:43 2009 @@ -0,0 +1,39 @@ +/** + * 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. + */ +package com.example.customerservice.client; + + + +import org.springframework.context.support.ClassPathXmlApplicationContext; + +public final class CustomerServiceSpringClient { + + private CustomerServiceSpringClient() { + } + + public static void main(String args[]) throws Exception { + // Initialize the spring context and fetch our test client + ClassPathXmlApplicationContext context + = new ClassPathXmlApplicationContext(new String[] {"classpath:client-applicationContext.xml"}); + CustomerServiceTester client = (CustomerServiceTester)context.getBean("tester"); + + client.testCustomerService(); + System.exit(0); + } +} Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceTester.java Thu Sep 17 23:09:43 2009 @@ -0,0 +1,67 @@ +/** + * 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. + */ + +package com.example.customerservice.client; + +import java.util.List; + +import junit.framework.Assert; + +import com.example.customerservice.Customer; +import com.example.customerservice.CustomerService; +import com.example.customerservice.NoSuchCustomerException; + +public final class CustomerServiceTester { + + // The CustomerService proxy will be injected either by spring or by a direct call to the setter + CustomerService customerService; + + public CustomerService getCustomerService() { + return customerService; + } + + public void setCustomerService(CustomerService customerService) { + this.customerService = customerService; + } + + public void testCustomerService() throws NoSuchCustomerException { + List customers = null; + + // First we test the positive case where customers are found and we retreive + // a list of customers + System.out.println("Sending request for customers named Smith"); + customers = customerService.getCustomersByName("Smith"); + System.out.println("Response received"); + Assert.assertEquals(2, customers.size()); + Assert.assertEquals("Smith", customers.get(0).getName()); + + // Then we test for an unknown Customer name and expect the NoSuchCustomerException + try { + customers = customerService.getCustomersByName("None"); + Assert.fail("We should get a NoSuchCustomerException here"); + } catch (NoSuchCustomerException e) { + System.out.println(e.getMessage()); + Assert.assertNotNull("FaultInfo must not be null", e.getFaultInfo()); + Assert.assertEquals("None", e.getFaultInfo().getCustomerName()); + System.out.println("NoSuchCustomer exception was received as expected"); + } + System.out.println("All calls were succesful"); + } + +} Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/client-beans.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/client-beans.xml?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/client-beans.xml (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/client-beans.xml Thu Sep 17 23:09:43 2009 @@ -0,0 +1,39 @@ + + + + + + + + + + + Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceImpl.java URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceImpl.java?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceImpl.java (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceImpl.java Thu Sep 17 23:09:43 2009 @@ -0,0 +1,70 @@ +/** + * 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. + */ +package com.example.customerservice.server; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.GregorianCalendar; +import java.util.List; + +import javax.annotation.Resource; +import javax.xml.ws.WebServiceContext; + +import com.example.customerservice.Customer; +import com.example.customerservice.CustomerService; +import com.example.customerservice.CustomerType; +import com.example.customerservice.NoSuchCustomer; +import com.example.customerservice.NoSuchCustomerException; + +public class CustomerServiceImpl implements CustomerService { + @Resource + WebServiceContext wsContext; + + public List getCustomersByName(String name) throws NoSuchCustomerException { + if ("None".equals(name)) { + NoSuchCustomer noSuchCustomer = new NoSuchCustomer(); + noSuchCustomer.setCustomerName(name); + throw new NoSuchCustomerException("Did not find any matching customer for name=" + name, + noSuchCustomer); + } + + List customers = new ArrayList(); + for (int c = 0; c < 2; c++) { + Customer cust = new Customer(); + cust.setName(name); + cust.getAddress().add("Pine Street 200"); + Date bDate = new GregorianCalendar(2009, 01, 01).getTime(); + cust.setBirthDate(bDate); + cust.setNumOrders(1); + cust.setRevenue(10000); + cust.setTest(new BigDecimal(1.5)); + cust.setType(CustomerType.BUSINESS); + customers.add(cust); + } + + return customers; + } + + public void updateCustomer(Customer customer) { + // TODO Auto-generated method stub + + } + +} Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceServer.java URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceServer.java?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceServer.java (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceServer.java Thu Sep 17 23:09:43 2009 @@ -0,0 +1,50 @@ +/** + * 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. + */ + +package com.example.customerservice.server; + +import javax.xml.ws.Endpoint; + +import com.example.customerservice.CustomerService; + +import org.apache.cxf.interceptor.LoggingInInterceptor; +import org.apache.cxf.interceptor.LoggingOutInterceptor; +import org.apache.cxf.jaxws.EndpointImpl; + +public class CustomerServiceServer { + + protected CustomerServiceServer() throws Exception { + System.out.println("Starting Server"); + CustomerService implementor = new CustomerServiceImpl(); + EndpointImpl ep = (EndpointImpl)Endpoint.publish("http://localhost:9090/CustomerServicePort", + implementor); + + // Adding logging for incoming and outgoing messages + ep.getServer().getEndpoint().getInInterceptors().add(new LoggingInInterceptor()); + ep.getServer().getEndpoint().getOutInterceptors().add(new LoggingOutInterceptor()); + } + + public static void main(String args[]) throws Exception { + new CustomerServiceServer(); + System.out.println("Server ready..."); + System.in.read(); + System.out.println("Server exiting"); + System.exit(0); + } +} Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/server/CustomerServiceSpringServer.java Thu Sep 17 23:09:43 2009 @@ -0,0 +1,32 @@ +/** + * 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. + */ +package com.example.customerservice.server; + +import org.springframework.context.support.ClassPathXmlApplicationContext; + +public class CustomerServiceSpringServer { + + protected CustomerServiceSpringServer() { + } + + public static void main(String args[]) throws Exception { + new ClassPathXmlApplicationContext("server-applicationContext.xml"); + System.in.read(); + } +} Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/client-applicationContext.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/client-applicationContext.xml?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/client-applicationContext.xml (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/client-applicationContext.xml Thu Sep 17 23:09:43 2009 @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/cxf-servlet.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/cxf-servlet.xml?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/cxf-servlet.xml (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/cxf-servlet.xml Thu Sep 17 23:09:43 2009 @@ -0,0 +1,38 @@ + + + + + + + + + + Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/log4j.conf URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/log4j.conf?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/log4j.conf (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/log4j.conf Thu Sep 17 23:09:43 2009 @@ -0,0 +1,6 @@ +log4j.rootLogger = INFO, console + +log4j.appender.console=org.apache.log4j.ConsoleAppender + +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern=%-5p %c %x - %m%n Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/server-applicationContext.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/server-applicationContext.xml?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/server-applicationContext.xml (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/resources/server-applicationContext.xml Thu Sep 17 23:09:43 2009 @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/CustomerService.wsdl URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/CustomerService.wsdl?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/CustomerService.wsdl (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/CustomerService.wsdl Thu Sep 17 23:09:43 2009 @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/CustomerService.wsdl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/binding.xml URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/binding.xml?rev=816407&view=auto ============================================================================== --- cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/binding.xml (added) +++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/binding.xml Thu Sep 17 23:09:43 2009 @@ -0,0 +1,17 @@ + + + + + + + + + \ No newline at end of file Propchange: cxf/trunk/distribution/src/main/release/samples/wsdl_first/wsdl/binding.xml ------------------------------------------------------------------------------ svn:mime-type = text/plain