axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/utils WSDLUtils.java
Date Fri, 14 Sep 2001 17:24:39 GMT
gdaniels    01/09/14 10:24:39

  Modified:    java/src/org/apache/axis/utils WSDLUtils.java
  Log:
  Implement support for allowedMethods.  We now only generate WSDL
  for the configured methods.
  
  Revision  Changes    Path
  1.12      +4 -0      xml-axis/java/src/org/apache/axis/utils/WSDLUtils.java
  
  Index: WSDLUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/WSDLUtils.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- WSDLUtils.java	2001/09/02 04:04:22	1.11
  +++ WSDLUtils.java	2001/09/14 17:24:38	1.12
  @@ -114,6 +114,10 @@
   
           Message msg;
           for(int i = 0, j = methods.length; i < j; i++) {
  +            if (allowedMethods != null) {
  +                if (allowedMethods.indexOf(methods[i].getName()) == -1)
  +                    continue;
  +            }
   
               Operation oper = def.createOperation();
               oper.setName(methods[i].getName());
  
  
  

Mime
View raw message