cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r451213 - in /incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test: AbstractTypeTestClient.java AbstractTypeTestClient3.java AbstractTypeTestClient4.java
Date Fri, 29 Sep 2006 10:15:03 GMT
Author: ema
Date: Fri Sep 29 03:15:00 2006
New Revision: 451213

URL: http://svn.apache.org/viewvc?view=rev&rev=451213
Log:
Correct namespace to use http://apache.org

Modified:
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient.java
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient.java?view=diff&rev=451213&r1=451212&r2=451213
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient.java
Fri Sep 29 03:15:00 2006
@@ -55,8 +55,6 @@
 
     public AbstractTypeTestClient(String name, QName theServicename, QName thePort, String
theWsdlPath) {
         super(name); 
-
-        System.setProperty("javax.xml.ws.spi.Provider", "org.objectweb.celtix.bus.jaxws.spi.ProviderImpl");
         serviceName = theServicename;
         portName = thePort;
         wsdlPath = theWsdlPath;

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java?view=diff&rev=451213&r1=451212&r2=451213
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient3.java
Fri Sep 29 03:15:00 2006
@@ -960,18 +960,18 @@
         yOrig.setAddress("Some Other Address");
 
         SOAPFactory sf = SOAPFactory.newInstance();
-        Name elementName = sf.createName("UKAddress", "", "http://objectweb.org/type_test");
+        Name elementName = sf.createName("UKAddress", "", "http://apache.org/type_test");
         Name xsiAttrName = sf.createName("type", "xsi", "http://www.w3.org/2001/XMLSchema-instance");
         SOAPElement x = sf.createElement(elementName);
-        x.addNamespaceDeclaration("tns", "http://objectweb.org/type_test");
+        x.addNamespaceDeclaration("tns", "http://apache.org/type_test");
         x.addNamespaceDeclaration("xsi", "http://www.w3.org/2001/XMLSchema-instance");
         x.addAttribute(xsiAttrName, "tns:UKAddressType11");
         x.addTextNode("This is the text of the node for the first struct");
 
-        Name elementName2 = sf.createName("UKAddress", "", "http://objectweb.org/type_test");
+        Name elementName2 = sf.createName("UKAddress", "", "http://apache.org/type_test");
         Name xsiAttrName2 = sf.createName("type", "xsi", "http://www.w3.org/2001/XMLSchema-instance");
         SOAPElement x2 = sf.createElement(elementName2);
-        x2.addNamespaceDeclaration("tns", "http://objectweb.org/type_test");
+        x2.addNamespaceDeclaration("tns", "http://apache.org/type_test");
         x2.addNamespaceDeclaration("xsi", "http://www.w3.org/2001/XMLSchema-instance");
         x2.addAttribute(xsiAttrName2, "tns:UKAddressType22");
         x2.addTextNode("This is the text of the node for the second struct");
@@ -1508,8 +1508,8 @@
     public void testStructWithAnyAttribute() throws Exception {
         QName xAt1Name = new QName("http://schemas.iona.com/type_test", "at_one");
         QName xAt2Name = new QName("http://schemas.iona.com/type_test", "at_two");
-        QName yAt3Name = new QName("http://objectweb.org/type_test", "at_thr");
-        QName yAt4Name = new QName("http://objectweb.org/type_test", "at_fou");
+        QName yAt3Name = new QName("http://apache.org/type_test", "at_thr");
+        QName yAt4Name = new QName("http://apache.org/type_test", "at_fou");
 
         StructWithAnyAttribute x = new StructWithAnyAttribute();
         StructWithAnyAttribute y = new StructWithAnyAttribute();
@@ -1584,8 +1584,8 @@
     public void testChoiceWithAnyAttribute() throws Exception {
         QName xAt1Name = new QName("http://schemas.iona.com/type_test", "at_one");
         QName xAt2Name = new QName("http://schemas.iona.com/type_test", "at_two");
-        QName yAt3Name = new QName("http://objectweb.org/type_test", "at_thr");
-        QName yAt4Name = new QName("http://objectweb.org/type_test", "at_fou");
+        QName yAt3Name = new QName("http://apache.org/type_test", "at_thr");
+        QName yAt4Name = new QName("http://apache.org/type_test", "at_fou");
 
         ChoiceWithAnyAttribute x = new ChoiceWithAnyAttribute();
         ChoiceWithAnyAttribute y = new ChoiceWithAnyAttribute();

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java?view=diff&rev=451213&r1=451212&r2=451213
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient4.java
Fri Sep 29 03:15:00 2006
@@ -87,10 +87,10 @@
     }
 
     public void testSimpleContentExtWithAnyAttribute() throws Exception {
-        QName xAt1Name = new QName("http://objectweb.org/type_test", "at_one");
-        QName xAt2Name = new QName("http://objectweb.org/type_test", "at_two");
-        QName yAt3Name = new QName("http://objectweb.org/type_test", "at_thr");
-        QName yAt4Name = new QName("http://objectweb.org/type_test", "at_fou");
+        QName xAt1Name = new QName("http://apache.org/type_test", "at_one");
+        QName xAt2Name = new QName("http://apache.org/type_test", "at_two");
+        QName yAt3Name = new QName("http://apache.org/type_test", "at_thr");
+        QName yAt4Name = new QName("http://apache.org/type_test", "at_fou");
 
         SimpleContentExtWithAnyAttribute x = new SimpleContentExtWithAnyAttribute();
         x.setValue("foo");
@@ -198,10 +198,10 @@
     }
 
     public void testOccuringStructWithAnyAttribute() throws Exception {
-        QName xAt1Name = new QName("http://objectweb.org/type_test", "at_one");
-        QName xAt2Name = new QName("http://objectweb.org/type_test", "at_two");
-        QName yAt3Name = new QName("http://objectweb.org/type_test", "at_thr");
-        QName yAt4Name = new QName("http://objectweb.org/type_test", "at_fou");
+        QName xAt1Name = new QName("http://apache.org/type_test", "at_one");
+        QName xAt2Name = new QName("http://apache.org/type_test", "at_two");
+        QName yAt3Name = new QName("http://apache.org/type_test", "at_thr");
+        QName yAt4Name = new QName("http://apache.org/type_test", "at_fou");
 
         OccuringStructWithAnyAttribute x = new OccuringStructWithAnyAttribute();
         OccuringStructWithAnyAttribute y = new OccuringStructWithAnyAttribute();
@@ -265,8 +265,8 @@
     public void testOccuringChoiceWithAnyAttribute() throws Exception {
         QName xAt1Name = new QName("http://schemas.iona.com/type_test", "at_one");
         QName xAt2Name = new QName("http://schemas.iona.com/type_test", "at_two");
-        QName yAt3Name = new QName("http://objectweb.org/type_test", "at_thr");
-        QName yAt4Name = new QName("http://objectweb.org/type_test", "at_fou");
+        QName yAt3Name = new QName("http://apache.org/type_test", "at_thr");
+        QName yAt4Name = new QName("http://apache.org/type_test", "at_fou");
 
         OccuringChoiceWithAnyAttribute x = new OccuringChoiceWithAnyAttribute();
         OccuringChoiceWithAnyAttribute y = new OccuringChoiceWithAnyAttribute();
@@ -1737,7 +1737,7 @@
 
     public void testAnyURIRestriction() throws Exception {
         // normal case, maxLength = 50 for anyURI
-        String x = new String("http://celtix.objectweb.org/");
+        String x = new String("http://cxf.apache.org/");
         String yOrig = new String("http://www.iona.com/info/services/oss/");
         Holder<String> y = new Holder<String>(yOrig);
         Holder<String> z = new Holder<String>();



Mime
View raw message