dims        2002/09/20 07:06:52

  Modified:    java/src/org/apache/axis/description ServiceDesc.java
  Log:
  Possible fix for Bug 12836 - wsdl:part name is empty "" if not compile with debug
  
  Note: It's difficult to write a test case for this :-)
  
  Revision  Changes    Path
  1.56      +1 -1      xml-axis/java/src/org/apache/axis/description/ServiceDesc.java
  
  Index: ServiceDesc.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/description/ServiceDesc.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- ServiceDesc.java  18 Sep 2002 16:10:43 -0000      1.55
  +++ ServiceDesc.java  20 Sep 2002 14:06:52 -0000      1.56
  @@ -967,7 +967,7 @@
               ParameterDesc paramDesc = new ParameterDesc();
               // If we have a name for this param, use it, otherwise call
               // it "in*"
  -            if (paramNames != null) {
  +            if (paramNames != null && paramNames[k] != null && 
paramNames[k].length()>0) {
                   paramDesc.setName(paramNames[k]);
               } else {
                   paramDesc.setName("in" + k);
  
  
  


Reply via email to