axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject cvs commit: xml-axis/java/test/arrays ArrayTest.wsdl Main.java
Date Fri, 30 Nov 2001 21:53:33 GMT
scheu       01/11/30 13:53:33

  Modified:    java/src/org/apache/axis/wsdl SchemaUtils.java
               java/test/arrays ArrayTest.wsdl Main.java
  Log:
  Removing my new array stuff...for now.
  It causes www.udi.org compile failures.
  
  Revision  Changes    Path
  1.2       +1 -1      xml-axis/java/src/org/apache/axis/wsdl/SchemaUtils.java
  
  Index: SchemaUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/SchemaUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SchemaUtils.java	2001/11/30 19:55:10	1.1
  +++ SchemaUtils.java	2001/11/30 21:53:33	1.2
  @@ -261,7 +261,7 @@
           QName qName = getArrayElementQName_JAXRPC(node);
           if (qName != null)
               return qName;
  -        qName = getArrayElementQName_nonJAXRPC(node);
  +        // qName = getArrayElementQName_nonJAXRPC(node);
           return qName;
       }
   
  
  
  
  1.5       +4 -4      xml-axis/java/test/arrays/ArrayTest.wsdl
  
  Index: ArrayTest.wsdl
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/arrays/ArrayTest.wsdl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ArrayTest.wsdl	2001/11/30 19:55:11	1.4
  +++ ArrayTest.wsdl	2001/11/30 21:53:33	1.5
  @@ -32,7 +32,7 @@
             </xsd:restriction>
           </xsd:complexContent>
         </xsd:complexType>
  -
  +<!--
         <xsd:complexType name="foodArray">
               <xsd:sequence>
                 <xsd:element name="alias" type="xsd:string" maxOccurs="unbounded"/>
  @@ -42,7 +42,7 @@
         <xsd:complexType name="gameArray">
                 <xsd:element name="alias" type="xsd:string" maxOccurs="unbounded"/>
         </xsd:complexType>
  -
  +-->
         <xsd:complexType name="personalInfo">
           <xsd:sequence>
               <xsd:element name="name" type="xsd:string"/>
  @@ -53,9 +53,9 @@
               <!-- Style 3: Array defined using derivation of soapenc:Array -->
               <xsd:element name="pets" type="typens:petArray"/>
               <!-- Microsoft 1 (not JAX-RPC): Array defined using sequence of single unbounded
element -->
  -            <xsd:element name="foods" type="typens:foodArray"/>
  +            <!-- <xsd:element name="foods" type="typens:foodArray"/> -->
               <!-- Microsoft 2 (not JAX-RPC): Array defined using single unbounded element
-->
  -            <xsd:element name="games" type="typens:gameArray"/>
  +            <!-- <xsd:element name="games" type="typens:gameArray"/> -->
               <!-- Array of bytes -->                                           
               <xsd:element name="nickName" type="soapenc:base64"/>
   
  
  
  
  1.5       +5 -1      xml-axis/java/test/arrays/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/arrays/Main.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Main.java	2001/11/30 19:55:11	1.4
  +++ Main.java	2001/11/30 21:53:33	1.5
  @@ -78,7 +78,9 @@
       static String[] foods  = new String[] { "Cheeze Whiz", "Jolt Cola" };
       static String[] games  = new String[] { "Doom", "Axis & Allies" };
       static byte[]   nickName = new byte[] { 'g', 'e', 'e', 'k' };
  -    static PersonalInfo pi = new PersonalInfo(name,movies,hobbies,pets,foods,games,nickName);
  +    static PersonalInfo pi = new PersonalInfo(name,movies,hobbies,pets,
  +                                              //foods,games,
  +                                              nickName);
       
       private static void printPersonalInfo (PersonalInfo pi) {
           if (pi == null) {
  @@ -103,6 +105,7 @@
               System.err.print(" \"" + (String) pets[i] + "\"");
           System.err.println("");
   
  +        /*
           Object[] foods =pi.getFoods();
           System.err.print ("\tFavorite Foods=");
           for(int i=0; i<foods.length; i++)
  @@ -114,6 +117,7 @@
           for(int i=0; i<games.length; i++)
               System.err.print(" \"" + (String) games[i] + "\"");
           System.err.println("");
  +        */
   
           byte[] nb =pi.getNickName();
           System.err.print ("\tNickName=");
  
  
  

Mime
View raw message