axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
Date Fri, 30 Aug 2002 19:35:41 GMT
tomj        2002/08/30 12:35:40

  Modified:    java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java
  Log:
  Fix a problem that causes the doc/lit echoViod() interop test not to compile:
  If we have 1 or FEWER elements in the return message, strip the wrapper.
  
  Revision  Changes    Path
  1.29      +1 -1      xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java
  
  Index: SymbolTable.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- SymbolTable.java	28 Aug 2002 22:53:17 -0000	1.28
  +++ SymbolTable.java	30 Aug 2002 19:35:40 -0000	1.29
  @@ -1346,7 +1346,7 @@
               //     there is only one element in a wrapped output param
               // THEN use the things in this element as the parameters
               if (vTypes != null && wrapped &&
  -                    (!outputParts) || (vTypes.size() == 1 && outputParts)) {
  +                    (!outputParts) || (vTypes.size() <= 1 && outputParts)) {
                   // add the elements in this list
                   for (int j = 0; j < vTypes.size(); j++) {
                       ElementDecl elem = (ElementDecl) vTypes.elementAt(j);
  
  
  

Mime
View raw message