You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by em...@apache.org on 2006/10/27 11:01:49 UTC
svn commit: r468324 - in /incubator/cxf/trunk:
systests/src/test/java/org/apache/cxf/systest/type_test/
systests/src/test/java/org/apache/cxf/systest/type_test/soap/
systests/src/test/java/org/apache/cxf/systest/type_test/xml/
testutils/src/main/resour...
Author: ema
Date: Fri Oct 27 02:01:48 2006
New Revision: 468324
URL: http://svn.apache.org/viewvc?view=rev&rev=468324
Log:
[CXF-98] Enable schema validation for XMLClientTypeTest
Added:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitClientTypeTest.java (with props)
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitServerImpl.java (with props)
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLClientTypeTest.java (with props)
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLServerImpl.java (with props)
Modified:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/databinding-schema-validation.xml
incubator/cxf/trunk/testutils/src/main/resources/wsdl/type_test/type_test_wsdl.xsl
Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/databinding-schema-validation.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/databinding-schema-validation.xml?view=diff&rev=468324&r1=468323&r2=468324
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/databinding-schema-validation.xml (original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/databinding-schema-validation.xml Fri Oct 27 02:01:48 2006
@@ -26,9 +26,7 @@
<bean id="{http://apache.org/type_test/doc}SOAPService" abstract="true">
<property name="enableSchemaValidationForAllPort" value="true"/>
</bean>
- <bean id="{http://apache.org/type_test/rpc}SOAPService" abstract="true">
- <property name="enableSchemaValidationForAllPort" value="true"/>
- </bean>
+
<bean id="{http://apache.org/type_test/xml}XMLService" abstract="true">
<property name="enableSchemaValidationForAllPort" value="true"/>
</bean>
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitClientTypeTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitClientTypeTest.java?view=auto&rev=468324
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitClientTypeTest.java (added)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitClientTypeTest.java Fri Oct 27 02:01:48 2006
@@ -0,0 +1,231 @@
+/**
+ * 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.type_test.soap;
+
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPFactory;
+import javax.xml.ws.Holder;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.cxf.systest.common.ClientServerSetupBase;
+import org.apache.cxf.systest.type_test.AbstractTypeTestClient5;
+import org.apache.type_test.types2.StructWithAnyArrayLax;
+import org.apache.type_test.types2.StructWithAnyStrict;
+
+public class SOAPRpcLitClientTypeTest extends AbstractTypeTestClient5 {
+ static final String WSDL_PATH = "/wsdl/type_test/type_test_rpclit_soap.wsdl";
+
+ static final QName SERVICE_NAME = new QName("http://apache.org/type_test/rpc", "SOAPService");
+
+ static final QName PORT_NAME = new QName("http://apache.org/type_test/rpc", "SOAPPort");
+
+ public SOAPRpcLitClientTypeTest(String name) {
+ super(name);
+ }
+
+ public static Test suite() throws Exception {
+ TestSuite suite = new TestSuite(SOAPRpcLitClientTypeTest.class);
+ return new ClientServerSetupBase(suite) {
+ public void startServers() throws Exception {
+ boolean ok = launchServer(SOAPRpcLitServerImpl.class);
+ assertTrue("failed to launch server", ok);
+ }
+ public void setUp() throws Exception {
+ super.setUp();
+ initClient(AbstractTypeTestClient5.class, SERVICE_NAME, PORT_NAME, WSDL_PATH);
+ }
+ };
+ }
+
+ public void testStructWithAnyStrict() throws Exception {
+ SOAPFactory factory = SOAPFactory.newInstance();
+ SOAPElement elem = factory.createElement("StringElementQualified", "tns",
+ "http://apache.org/type_test/types1");
+ elem.addNamespaceDeclaration("tns", "http://apache.org/type_test/types1");
+ elem.addTextNode("This is the text of the node");
+
+ StructWithAnyStrict x = new StructWithAnyStrict();
+ x.setName("Name x");
+ x.setAddress("Some Address x");
+ x.setAny(elem);
+
+ elem = factory.createElement("StringElementQualified", "tns", "http://apache.org/type_test/types1");
+ elem.addNamespaceDeclaration("tns", "http://apache.org/type_test/types1");
+ elem.addTextNode("This is the text of the second node");
+
+ StructWithAnyStrict yOrig = new StructWithAnyStrict();
+ yOrig.setName("Name y");
+ yOrig.setAddress("Some Address y");
+ yOrig.setAny(elem);
+
+ Holder<StructWithAnyStrict> y = new Holder<StructWithAnyStrict>(yOrig);
+ Holder<StructWithAnyStrict> z = new Holder<StructWithAnyStrict>();
+ StructWithAnyStrict ret = rpcClient.testStructWithAnyStrict(x, y, z);
+ if (!perfTestOnly) {
+ assertEqualsStructWithAnyStrict(x, y.value);
+ assertEqualsStructWithAnyStrict(yOrig, z.value);
+ assertEqualsStructWithAnyStrict(x, ret);
+ }
+ }
+
+ public void testStructWithAnyStrictComplex() throws Exception {
+ SOAPFactory factory = SOAPFactory.newInstance();
+ SOAPElement elem = factory.createElement("AnonTypeElementQualified", "tns",
+ "http://apache.org/type_test/types1");
+ elem.addNamespaceDeclaration("tns", "http://apache.org/type_test/types1");
+ SOAPElement floatElem = factory
+ .createElement("varFloat", "tns", "http://apache.org/type_test/types1");
+ floatElem.addTextNode("12.5");
+ elem.addChildElement(floatElem);
+ SOAPElement intElem = factory.createElement("varInt", "tns", "http://apache.org/type_test/types1");
+ intElem.addTextNode("34");
+ elem.addChildElement(intElem);
+ SOAPElement stringElem = factory.createElement("varString", "tns",
+ "http://apache.org/type_test/types1");
+ stringElem.addTextNode("test string within any");
+ elem.addChildElement(stringElem);
+
+ StructWithAnyStrict x = new StructWithAnyStrict();
+ x.setName("Name x");
+ x.setAddress("Some Address x");
+ x.setAny(elem);
+
+ elem = factory.createElement("AnonTypeElementQualified", "tns", "http://apache.org/type_test/types1");
+ elem.addNamespaceDeclaration("tns", "http://apache.org/type_test/types1");
+ floatElem = factory.createElement("varFloat", "tns", "http://apache.org/type_test/types1");
+ floatElem.addTextNode("12.76");
+ elem.addChildElement(floatElem);
+ intElem = factory.createElement("varInt", "tns", "http://apache.org/type_test/types1");
+ intElem.addTextNode("56");
+ elem.addChildElement(intElem);
+ stringElem = factory.createElement("varString", "tns", "http://apache.org/type_test/types1");
+ stringElem.addTextNode("test string");
+ elem.addChildElement(stringElem);
+
+ StructWithAnyStrict yOrig = new StructWithAnyStrict();
+ yOrig.setName("Name y");
+ yOrig.setAddress("Some Address y");
+ yOrig.setAny(elem);
+
+ Holder<StructWithAnyStrict> y = new Holder<StructWithAnyStrict>(yOrig);
+ Holder<StructWithAnyStrict> z = new Holder<StructWithAnyStrict>();
+ StructWithAnyStrict ret = rpcClient.testStructWithAnyStrict(x, y, z);
+ if (!perfTestOnly) {
+ assertEqualsStructWithAnyStrict(x, y.value);
+ assertEqualsStructWithAnyStrict(yOrig, z.value);
+ assertEqualsStructWithAnyStrict(x, ret);
+ }
+ }
+
+ public void testStructWithAnyArrayLax() throws Exception {
+ SOAPFactory factory = SOAPFactory.newInstance();
+ SOAPElement elem = factory.createElement("StringElementQualified", "tns",
+ "http://apache.org/type_test/types1");
+ elem.addNamespaceDeclaration("tns", "http://apache.org/type_test/types1");
+ elem.addTextNode("This is the text of the node");
+
+ StructWithAnyArrayLax x = new StructWithAnyArrayLax();
+ x.setName("Name x");
+ x.setAddress("Some Address x");
+ x.getAny().add(elem);
+
+ elem = factory.createElement("StringElementQualified", "tns", "http://apache.org/type_test/types1");
+ elem.addNamespaceDeclaration("tns", "http://apache.org/type_test/types1");
+ elem.addTextNode("This is the text of the node for the second struct");
+
+ StructWithAnyArrayLax yOrig = new StructWithAnyArrayLax();
+ yOrig.setName("Name y");
+ yOrig.setAddress("Some Other Address y");
+ yOrig.getAny().add(elem);
+
+ Holder<StructWithAnyArrayLax> y = new Holder<StructWithAnyArrayLax>(yOrig);
+ Holder<StructWithAnyArrayLax> z = new Holder<StructWithAnyArrayLax>();
+ StructWithAnyArrayLax ret = rpcClient.testStructWithAnyArrayLax(x, y, z);
+ if (!perfTestOnly) {
+ assertEqualsStructWithAnyArrayLax(x, y.value);
+ assertEqualsStructWithAnyArrayLax(yOrig, z.value);
+ assertEqualsStructWithAnyArrayLax(x, ret);
+ }
+ }
+
+ public void testStructWithAnyArrayLaxComplex() throws Exception {
+ SOAPFactory factory = SOAPFactory.newInstance();
+ SOAPElement elem = factory.createElement("AnonTypeElementQualified", "tns",
+ "http://apache.org/type_test/types1");
+ elem.addNamespaceDeclaration("tns", "http://apache.org/type_test/types1");
+ SOAPElement floatElem = factory
+ .createElement("varFloat", "tns", "http://apache.org/type_test/types1");
+ floatElem.addTextNode("12.76");
+ elem.addChildElement(floatElem);
+ SOAPElement intElem = factory.createElement("varInt", "tns", "http://apache.org/type_test/types1");
+ intElem.addTextNode("56");
+ elem.addChildElement(intElem);
+ SOAPElement stringElem = factory.createElement("varString", "tns",
+ "http://apache.org/type_test/types1");
+ stringElem.addTextNode("test string");
+ elem.addChildElement(stringElem);
+
+ StructWithAnyArrayLax x = new StructWithAnyArrayLax();
+ x.setName("Name x");
+ x.setAddress("Some Address x");
+ x.getAny().add(elem);
+ StructWithAnyArrayLax yOrig = new StructWithAnyArrayLax();
+ yOrig.setName("Name y");
+ yOrig.setAddress("Some Other Address y");
+ yOrig.getAny().add(elem);
+
+ Holder<StructWithAnyArrayLax> y = new Holder<StructWithAnyArrayLax>(yOrig);
+ Holder<StructWithAnyArrayLax> z = new Holder<StructWithAnyArrayLax>();
+ StructWithAnyArrayLax ret = rpcClient.testStructWithAnyArrayLax(x, y, z);
+ if (!perfTestOnly) {
+ assertEqualsStructWithAnyArrayLax(x, y.value);
+ assertEqualsStructWithAnyArrayLax(yOrig, z.value);
+ assertEqualsStructWithAnyArrayLax(x, ret);
+ }
+ }
+
+ public void assertEqualsStructWithAnyStrict(StructWithAnyStrict a, StructWithAnyStrict b)
+ throws Exception {
+ assertEquals("StructWithAnyStrict names don't match", a.getName(), b.getName());
+ assertEquals("StructWithAnyStrict addresses don't match", a.getAddress(), b.getAddress());
+ if (a.getAny() instanceof SOAPElement && b.getAny() instanceof SOAPElement) {
+ assertEquals((SOAPElement) a.getAny(), (SOAPElement) b.getAny());
+ }
+ }
+
+ public void assertEqualsStructWithAnyArrayLax(StructWithAnyArrayLax a, StructWithAnyArrayLax b)
+ throws Exception {
+ assertEquals("StructWithAnyArrayLax names don't match", a.getName(), b.getName());
+ assertEquals("StructWithAnyArrayLax addresses don't match", a.getAddress(), b.getAddress());
+
+ List<Object> ae = a.getAny();
+ List<Object> be = b.getAny();
+ assertEquals("StructWithAnyArrayLax soap element lengths don't match", ae.size(), be.size());
+ for (int i = 0; i < ae.size(); i++) {
+ if (ae.get(i) instanceof SOAPElement && be.get(i) instanceof SOAPElement) {
+ assertEquals(ae.get(i), be.get(i));
+ }
+ }
+ }
+}
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitClientTypeTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitClientTypeTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitServerImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitServerImpl.java?view=auto&rev=468324
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitServerImpl.java (added)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitServerImpl.java Fri Oct 27 02:01:48 2006
@@ -0,0 +1,54 @@
+/**
+ * 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.type_test.soap;
+
+import javax.jws.WebService;
+import javax.xml.ws.Endpoint;
+
+import org.apache.cxf.systest.common.TestServerBase;
+import org.apache.cxf.systest.type_test.TypeTestImpl;
+import org.apache.type_test.rpc.TypeTestPortType;
+
+public class SOAPRpcLitServerImpl extends TestServerBase {
+
+ public void run() {
+ Object implementor = new SOAPTypeTestImpl();
+ String address = "http://localhost:9006/SOAPService/SOAPPort/";
+ Endpoint.publish(address, implementor);
+ }
+
+ public static void main(String args[]) {
+ try {
+ SOAPRpcLitServerImpl s = new SOAPRpcLitServerImpl();
+ s.start();
+ } catch (Exception ex) {
+ ex.printStackTrace();
+ System.exit(-1);
+ } finally {
+ System.out.println("done!");
+ }
+ }
+
+ @WebService(serviceName = "SOAPService",
+ portName = "SOAPPort",
+ endpointInterface = "org.apache.type_test.rpc.TypeTestPortType",
+ targetNamespace = "http://apache.org/type_test/rpc")
+ class SOAPTypeTestImpl extends TypeTestImpl implements TypeTestPortType {
+ }
+}
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitServerImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/soap/SOAPRpcLitServerImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLClientTypeTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLClientTypeTest.java?view=auto&rev=468324
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLClientTypeTest.java (added)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLClientTypeTest.java Fri Oct 27 02:01:48 2006
@@ -0,0 +1,60 @@
+/**
+ * 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.type_test.xml;
+
+import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.cxf.systest.common.ClientServerSetupBase;
+import org.apache.cxf.systest.type_test.AbstractTypeTestClient5;
+
+public class XMLClientTypeTest extends AbstractTypeTestClient5 {
+ static final String WSDL_PATH = "/wsdl/type_test/type_test_xml.wsdl";
+ static final QName SERVICE_NAME = new QName("http://apache.org/type_test/xml", "XMLService");
+ static final QName PORT_NAME = new QName("http://apache.org/type_test/xml", "XMLPort");
+
+ public XMLClientTypeTest(String name) {
+ super(name);
+ }
+
+ public static Test suite() throws Exception {
+ TestSuite suite = new TestSuite(XMLClientTypeTest.class);
+ return new ClientServerSetupBase(suite) {
+ public void startServers() throws Exception {
+ boolean ok = launchServer(XMLServerImpl.class);
+ assertTrue("failed to launch server", ok);
+ }
+
+// public void setUp() throws Exception {
+// // set up configuration to enable schema validation
+// URL url = getClass().getResource("../celtix-config.xml");
+// assertNotNull("cannot find test resource", url);
+// configFileName = url.toString();
+// super.setUp();
+// }
+ public void setUp() throws Exception {
+ super.setUp();
+ initClient(AbstractTypeTestClient5.class, SERVICE_NAME, PORT_NAME, WSDL_PATH);
+ }
+
+ };
+ }
+}
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLClientTypeTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLClientTypeTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLServerImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLServerImpl.java?view=auto&rev=468324
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLServerImpl.java (added)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLServerImpl.java Fri Oct 27 02:01:48 2006
@@ -0,0 +1,60 @@
+/**
+ * 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.type_test.xml;
+
+import javax.jws.WebService;
+import javax.xml.ws.Endpoint;
+
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.systest.common.TestServerBase;
+import org.apache.cxf.systest.type_test.TypeTestImpl;
+import org.apache.type_test.xml.TypeTestPortType;
+
+public class XMLServerImpl extends TestServerBase {
+
+ public void run() {
+ SpringBusFactory sf = new SpringBusFactory();
+ sf.setDefaultBus(null);
+ sf.setDefaultBus(sf.createBus("org/apache/cxf/systest/type_test/databinding-schema-validation.xml"));
+
+ Object implementor = new XMLTypeTestImpl();
+ String address = "http://localhost:9008/XMLService/XMLPort/";
+ Endpoint.publish(address, implementor);
+ }
+
+ public static void main(String args[]) {
+ try {
+ XMLServerImpl s = new XMLServerImpl();
+ s.start();
+ } catch (Exception ex) {
+ ex.printStackTrace();
+ System.exit(-1);
+ } finally {
+ System.out.println("done!");
+ }
+ }
+
+ @WebService(serviceName = "XMLService",
+ portName = "XMLPort",
+ endpointInterface = "org.apache.type_test.xml.TypeTestPortType",
+ targetNamespace = "http://apache.org/type_test/xml")
+ @javax.xml.ws.BindingType(value = "http://cxf.apache.org/bindings/xmlformat")
+ class XMLTypeTestImpl extends TypeTestImpl implements TypeTestPortType {
+ }
+}
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLServerImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/xml/XMLServerImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Modified: incubator/cxf/trunk/testutils/src/main/resources/wsdl/type_test/type_test_wsdl.xsl
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/resources/wsdl/type_test/type_test_wsdl.xsl?view=diff&rev=468324&r1=468323&r2=468324
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/resources/wsdl/type_test/type_test_wsdl.xsl (original)
+++ incubator/cxf/trunk/testutils/src/main/resources/wsdl/type_test/type_test_wsdl.xsl Fri Oct 27 02:01:48 2006
@@ -76,9 +76,7 @@
<xsl:if test="$tns_suffix='xml'">
<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:x1="http://apache.org/type_test/types1"
- xmlns:x2="http://apache.org/type_test/types2"
- xmlns:x3="http://apache.org/type_test/types3"
+
xmlns:tns="http://apache.org/type_test/xml"
targetNamespace="http://apache.org/type_test/xml"
name="type_test">
@@ -94,7 +92,8 @@
<xsl:template match="/xsd:schema" mode="schema"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
- <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+ <xsd:schema xmlns:iona="iona.iona"
+ xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:x1="http://apache.org/type_test/types1"
xmlns:x2="http://apache.org/type_test/types2"
xmlns:x3="http://apache.org/type_test/types3"