axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/tools/org/apache/axis/tools/ant/wsdl Java2WsdlAntTask.java
Date Tue, 25 Nov 2003 22:08:56 GMT
dims        2003/11/25 14:08:56

  Modified:    java/tools/org/apache/axis/tools/ant/wsdl
                        Java2WsdlAntTask.java
  Log:
  Fix for Bug 24990 - Java2WsdlAntTask does not support java2wsdl --soapaction option
  from jvalverde@rccl.com (Jose Valverde)
  
  Revision  Changes    Path
  1.16      +13 -2     ws-axis/java/tools/org/apache/axis/tools/ant/wsdl/Java2WsdlAntTask.java
  
  Index: Java2WsdlAntTask.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/tools/org/apache/axis/tools/ant/wsdl/Java2WsdlAntTask.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Java2WsdlAntTask.java	1 Jan 2003 04:07:40 -0000	1.15
  +++ Java2WsdlAntTask.java	25 Nov 2003 22:08:55 -0000	1.16
  @@ -115,6 +115,7 @@
       private MappingSet mappings=new MappingSet();
       private String extraClasses = null;
       private Path classpath = null;
  +    private String soapAction = null;
   
       /**
        * trace out parameters
  @@ -146,6 +147,8 @@
           log("\tserviceElementName:" + serviceElementName, logLevel);
           log("\tmethods:" + methods, logLevel);
           log("\textraClasses:" + extraClasses, logLevel);
  +        log("\tsoapAction:" + soapAction, logLevel);
  +      
   }
   
       /**
  @@ -247,6 +250,9 @@
               if(methods!=null) {
                   emitter.setAllowedMethods(methods);
               }
  +            if (soapAction != null) {
  +                emitter.setSoapAction(soapAction);
  +            }
               if (outputImpl == null) {
                   // Normal case
                   emitter.emit(output, Emitter.MODE_ALL);
  @@ -494,7 +500,12 @@
       public void setExtraClasses(String extraClasses) {
           this.extraClasses = extraClasses;
       }
  +    
  +    /**
  +     * The setter for the "soapAction" attribute
  +     */
  +    public void setSoapAction( String soapAction ) {
  +		this.soapAction = soapAction;
  +    }
   
   }
  -
  -
  
  
  

Mime
View raw message