You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2003/12/05 19:46:59 UTC

cvs commit: ws-axis/java/test/encoding TestDeser.java

dims        2003/12/05 10:46:59

  Modified:    java/test/encoding TestDeser.java
  Log:
  Test for confirming that Bug 18390 has been fixed ("Axis reject array element without xsi:type="soapenc:Array"")
  
  Revision  Changes    Path
  1.43      +8 -0      ws-axis/java/test/encoding/TestDeser.java
  
  Index: TestDeser.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/encoding/TestDeser.java,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- TestDeser.java	11 Dec 2002 22:40:15 -0000	1.42
  +++ TestDeser.java	5 Dec 2003 18:46:59 -0000	1.43
  @@ -587,6 +587,14 @@
                       "</varStruct>" +
                       "</whatever>" , ss, true);
       }
  +    
  +    public void testBug18390() throws Exception {
  +        String[] s = new String[] {"GW671055X"};
  +        deserialize("<molNames soapenc:arrayType=\"xsd:string[1]\"> " +
  +                       "<xsd:string xsi:type=\"xsd:string\">GW671055X</xsd:string>" +
  +                    "</molNames>",
  +                    s, true);
  +    }
   
       // Struct within Struct
       public void testStructStruct2() throws Exception {