axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject cvs commit: ws-axis/java/test/wsdl/arrays2 TestArrays2TestCase.java
Date Fri, 19 Dec 2003 09:04:15 GMT
ias         2003/12/19 01:04:15

  Modified:    java/test/wsdl/arrays2 TestArrays2TestCase.java
  Log:
  Fix for Bug 25558 - Changed trDescrType to String
  
  Revision  Changes    Path
  1.2       +6 -7      ws-axis/java/test/wsdl/arrays2/TestArrays2TestCase.java
  
  Index: TestArrays2TestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/arrays2/TestArrays2TestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestArrays2TestCase.java	8 Dec 2003 18:23:45 -0000	1.1
  +++ TestArrays2TestCase.java	19 Dec 2003 09:04:15 -0000	1.2
  @@ -96,14 +96,13 @@
                   new org.apache.axis.encoding.ser.BeanDeserializerFactory(
                           InnerDataType.class,
                           new javax.xml.namespace.QName("http://www.xyz.net/schemas/arraytest/innerdata/1.0",
"innerDataType")));
  -
  -        tm.register(TrDescrType.class,
  +        tm.register(String.class,
                   new javax.xml.namespace.QName("http://www.xyz.net/schemas/arraytest/innerdata/1.0",
"trDescrType"),
  -                new org.apache.axis.encoding.ser.BeanSerializerFactory(
  -                        TrDescrType.class,
  +                new org.apache.axis.encoding.ser.SimpleSerializerFactory(
  +                        String.class,
                           new javax.xml.namespace.QName("http://www.xyz.net/schemas/arraytest/innerdata/1.0",
"trDescrType")),
  -                new org.apache.axis.encoding.ser.BeanDeserializerFactory(
  -                        TrDescrType.class,
  +                new org.apache.axis.encoding.ser.SimpleDeserializerFactory(
  +                        String.class,
                           new javax.xml.namespace.QName("http://www.xyz.net/schemas/arraytest/innerdata/1.0",
"trDescrType")));
   
           tm.register(DataRequestType.class,
  @@ -133,6 +132,6 @@
           InnerDataType inner[] = result.getInnerData();
           assertTrue(inner != null);
           assertEquals(inner.length, 10);
  -        assertEquals(inner[9].getTrDescr().getValue().trim(),"desc#9 HELLO!");
  +        assertEquals(inner[9].getTrDescr().trim(),"desc#9 HELLO!");
       }
   }
  
  
  

Mime
View raw message