Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 95377 invoked from network); 13 Sep 2007 05:46:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Sep 2007 05:46:16 -0000 Received: (qmail 80583 invoked by uid 500); 13 Sep 2007 05:46:09 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 80542 invoked by uid 500); 13 Sep 2007 05:46:09 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 80533 invoked by uid 99); 13 Sep 2007 05:46:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 22:46:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=FM_FAKE_HELO_VERIZON,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glen.mazza@verizon.net designates 206.46.252.42 as permitted sender) Received: from [206.46.252.42] (HELO vms042pub.verizon.net) (206.46.252.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 05:47:45 +0000 Received: from [192.168.1.45] ([70.17.112.72]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JOA00CCWLC41UC5@vms042.mailsrvcs.net> for cxf-dev@incubator.apache.org; Thu, 13 Sep 2007 00:45:41 -0500 (CDT) Date: Thu, 13 Sep 2007 01:45:42 -0400 From: Glen Mazza Subject: Re: svn commit: r574887 - in /incubator/cxf/trunk: rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/ systests/ systests/src/test/java/org/apache/cxf/systest/cxf993/ systests/src/test/resources/wsdl/ In-reply-to: <20070912111925.894281A9832@eris.apache.org> To: cxf-dev@incubator.apache.org Message-id: <1189662342.22872.11.camel@gmazza-desktop> MIME-version: 1.0 X-Mailer: Evolution 2.10.1 Content-type: text/plain Content-transfer-encoding: 7bit References: <20070912111925.894281A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Am Mittwoch, den 12.09.2007, 11:19 +0000 schrieb mmao@apache.org: > Author: mmao > Date: Wed Sep 12 04:19:23 2007 > New Revision: 574887 > > Added: > incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java > URL: > http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java?rev=574887&view=auto > ============================================================================== > --- > incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java (added) > +++ > incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Impl.java Wed Sep 12 04:19:23 2007 > @@ -0,0 +1,35 @@ > +/** > + * 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 org.apache.cxf.systest.cxf993; > + > +import testnotification.NotificationServicePort; > + > +/** > + * This class was generated by the CXF 2.1-incubator-SNAPSHOT > + * Wed Sep 12 16:41:52 CST 2007 > + * Generated source version: 2.1-incubator-SNAPSHOT > + * > + */ > + > +public class Cxf993Impl implements NotificationServicePort { > + public String sendNotification(testnotification.SendNotification > parameters) { > + return "dumy"; dummy > + } > +} > > Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java > URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java?rev=574887&view=auto > ============================================================================== > --- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java (added) > +++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/cxf993/Cxf993Test.java Wed Sep 12 04:19:23 2007 > @@ -0,0 +1,55 @@ > +/** > + * 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 org.apache.cxf.systest.cxf993; > + > +import java.net.URL; > +import javax.xml.namespace.QName; > + > +import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase; > +import org.junit.BeforeClass; > +import org.junit.Test; > +import testnotification.NotificationService; > +import testnotification.NotificationServicePort; > +import testnotification.SendNotification; > + > +public class Cxf993Test extends AbstractBusClientServerTestBase { > + > + private final QName serviceName = new QName("urn://testnotification", "NotificationService"); > + > + @BeforeClass > + public static void startServers() throws Exception { > + assertTrue("server did not launch correctly", launchServer(Server.class)); > + } > + > + @Test > + public void testBasicConnection() throws Exception { > + assertEquals("dumy", getPort().sendNotification(new SendNotification())); > + } > + > + private NotificationServicePort getPort() { > + URL wsdl = getClass().getResource("/wsdl/cxf-993.wsdl"); > + assertNotNull("WSDL is null", wsdl); > + > + NotificationService service = new NotificationService(wsdl, serviceName); > + assertNotNull("Service is ull ", service); > + null > + return service.getNotificationServicePort(); > + } > +} >