axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl Emitter.java
Date Tue, 18 Sep 2001 21:59:42 GMT
butek       01/09/18 14:59:42

  Modified:    java/src/org/apache/axis/wsdl Emitter.java
  Log:
  Fixed a bug where the skelSig would have "Object method (MessageContext ctx, )"
  if there were multiple outputs and no inputs/inouts.
  
  Also, I found a "pw.print" that should be a "pw.println".
  
  Revision  Changes    Path
  1.24      +4 -2      xml-axis/java/src/org/apache/axis/wsdl/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/Emitter.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Emitter.java	2001/09/18 21:01:43	1.23
  +++ Emitter.java	2001/09/18 21:59:42	1.24
  @@ -643,8 +643,10 @@
           if (bMessageContext) {
               skelSig = skelSig + "org.apache.axis.MessageContext ctx";
               axisSig = axisSig + "org.apache.axis.MessageContext ctx";
  -            if (parms.list.size() > 0) {
  +            if ((parms.inputs + parms.inouts) > 0) {
                   skelSig = skelSig + ", ";
  +            }
  +            if (parms.list.size() > 0) {
                   axisSig = axisSig + ", ";
               }
           }
  @@ -1138,7 +1140,7 @@
                   call = call + p.name + "Holder";
           }
           call = call + ")";
  -        pw.print(wrapPrimitiveType(parms.returnType, call) + ";");
  +        pw.println(wrapPrimitiveType(parms.returnType, call) + ";");
   
           // Handle the outputs, if there are any.
           if (parms.inouts + parms.outputs > 0) {
  
  
  

Mime
View raw message