You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2006/11/22 03:05:52 UTC
svn commit: r478011 - in /incubator/cxf/trunk:
systests/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java
testutils/src/main/java/org/apache/locator_test/LocatorServiceImpl.java
testutils/src/main/resources/wsdl/locator.wsdl
Author: ffang
Date: Tue Nov 21 18:05:51 2006
New Revision: 478011
URL: http://svn.apache.org/viewvc?view=rev&rev=478011
Log:
[CXF-176] add ASF headers for locator.wsdl and use apache namespace
Modified:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java
incubator/cxf/trunk/testutils/src/main/java/org/apache/locator_test/LocatorServiceImpl.java
incubator/cxf/trunk/testutils/src/main/resources/wsdl/locator.wsdl
Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java?view=diff&rev=478011&r1=478010&r2=478011
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/LocatorClientServerTest.java Tue Nov 21 18:05:51 2006
@@ -45,7 +45,7 @@
public class LocatorClientServerTest extends ClientServerTestBase {
static final Logger LOG = Logger.getLogger(LocatorClientServerTest.class.getName());
- private final QName serviceName = new QName("http://ws.iona.com/2005/11/locator", "LocatorService");
+ private final QName serviceName = new QName("http://apache.org/locator", "LocatorService");
public static class MyServer extends TestServerBase {
Modified: incubator/cxf/trunk/testutils/src/main/java/org/apache/locator_test/LocatorServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/java/org/apache/locator_test/LocatorServiceImpl.java?view=diff&rev=478011&r1=478010&r2=478011
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/java/org/apache/locator_test/LocatorServiceImpl.java (original)
+++ incubator/cxf/trunk/testutils/src/main/java/org/apache/locator_test/LocatorServiceImpl.java Tue Nov 21 18:05:51 2006
@@ -36,7 +36,7 @@
@javax.jws.WebService(name = "LocatorService",
serviceName = "LocatorService",
portName = "LocatorServicePort",
- targetNamespace = "http://ws.iona.com/2005/11/locator",
+ targetNamespace = "http://apache.org/locator",
endpointInterface = "org.apache.cxf.testutils.locator.LocatorService")
public class LocatorServiceImpl implements LocatorService {
Modified: incubator/cxf/trunk/testutils/src/main/resources/wsdl/locator.wsdl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/resources/wsdl/locator.wsdl?view=diff&rev=478011&r1=478010&r2=478011
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/resources/wsdl/locator.wsdl (original)
+++ incubator/cxf/trunk/testutils/src/main/resources/wsdl/locator.wsdl Tue Nov 21 18:05:51 2006
@@ -1,10 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
-<definitions targetNamespace="http://ws.iona.com/2005/11/locator"
+<!--
+ 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.
+-->
+
+<definitions targetNamespace="http://apache.org/locator"
xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:ls="http://ws.iona.com/2005/11/locator"
- xmlns:query="http://ws.iona.com/2005/11/locator/query"
+ xmlns:ls="http://apache.org/locator"
+ xmlns:query="http://apache.org/locator/query"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:tns="http://ws.iona.com/2005/11/locator/types"
+ xmlns:tns="http://apache.org/locator/types"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<types>
@@ -130,8 +149,8 @@
</xs:complexType>
</xs:schema>
<xs:schema elementFormDefault="qualified"
- targetNamespace="http://ws.iona.com/2005/11/locator/query"
- xmlns:tns="http://ws.iona.com/2005/11/locator/query">
+ targetNamespace="http://apache.org/locator/query"
+ xmlns:tns="http://apache.org/locator/query">
<xs:simpleType name="FieldEnumeratedType">
<xs:restriction base="xs:string">
<xs:enumeration value="GROUP"/>
@@ -162,12 +181,12 @@
</xs:complexType>
<xs:element name="select" type="tns:QuerySelectType"/>
</xs:schema>
- <xs:schema targetNamespace="http://ws.iona.com/2005/11/locator/extensions">
+ <xs:schema targetNamespace="http://apache.org/locator/extensions">
<xs:element name="group" type="xs:string"/>
</xs:schema>
- <xs:schema targetNamespace="http://ws.iona.com/2005/11/locator/types">
+ <xs:schema targetNamespace="http://apache.org/locator/types">
<xs:import namespace="http://www.w3.org/2005/08/addressing"/>
- <xs:import namespace="http://ws.iona.com/2005/11/locator/query"/>
+ <xs:import namespace="http://apache.org/locator/query"/>
<xs:complexType name="EmptyMessage">
<xs:sequence/>
</xs:complexType>