tomj        2002/07/03 13:57:14

  Modified:    java/src/org/apache/axis/description ServiceDesc.java
  Log:
  Fix a problem with Skeletons and WSDL generation:
  The getOperationDescs() and getOperationDescByName()
  APIs were showing up in WSDL when skeletons were
  turned on.
  
  Fix: Filter out static methods when creating the
  method list for a service.
  
  NOTE TO IBM: You may want this for Beta 3 if you care
  about the WSDL generated when using skeletons!
  
  Revision  Changes    Path
  1.37      +1 -0      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.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- ServiceDesc.java  3 Jul 2002 17:50:21 -0000       1.36
  +++ ServiceDesc.java  3 Jul 2002 20:57:14 -0000       1.37
  @@ -717,6 +717,7 @@
           for (int i = 0; i < methods.length; i++) {
               Method method = methods[i];
               if (Modifier.isPublic(method.getModifiers()) &&
  +                    !Modifier.isStatic(method.getModifiers()) &&
                       method.getName().equals(methodName)) {
                   createOperationForMethod(method);
               }
  
  
  


Reply via email to