You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sc...@apache.org on 2002/04/13 00:24:48 UTC

cvs commit: xml-axis/java/src/org/apache/axis/description ParameterDesc.java

scheu       02/04/12 15:24:48

  Modified:    java/src/org/apache/axis/deployment/wsdd WSDDOperation.java
                        WSDDService.java
               java/src/org/apache/axis/description ParameterDesc.java
  Log:
  Just a few minor improvements that I found..
  
  Revision  Changes    Path
  1.17      +8 -0      xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDOperation.java
  
  Index: WSDDOperation.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDOperation.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- WSDDOperation.java	5 Apr 2002 21:24:32 -0000	1.16
  +++ WSDDOperation.java	12 Apr 2002 22:24:47 -0000	1.17
  @@ -88,6 +88,14 @@
       OperationDesc desc = new OperationDesc();
   
       /**
  +     * Set operation descriptor 
  +     * @throws WSDDException 
  +     */
  +    public WSDDOperation(OperationDesc desc) {
  +        this.desc = desc;
  +    }
  +        
  +    /**
        *
        * @param e (Element) XXX
        * @throws WSDDException XXX
  
  
  
  1.56      +7 -0      xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDService.java
  
  Index: WSDDService.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDService.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- WSDDService.java	11 Apr 2002 16:23:46 -0000	1.55
  +++ WSDDService.java	12 Apr 2002 22:24:47 -0000	1.56
  @@ -224,6 +224,13 @@
           typeMappings.add(mapping);
       }
   
  +    /**
  +     * Add an WSDDOperation to the Service.
  +     * @param mapping
  +     **/
  +    public void addOperation(WSDDOperation operation) {
  +        operations.add(operation);
  +    }
   
       protected QName getElementName()
       {
  
  
  
  1.5       +3 -1      xml-axis/java/src/org/apache/axis/description/ParameterDesc.java
  
  Index: ParameterDesc.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/description/ParameterDesc.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ParameterDesc.java	29 Mar 2002 23:25:45 -0000	1.4
  +++ ParameterDesc.java	12 Apr 2002 22:24:48 -0000	1.5
  @@ -116,7 +116,9 @@
       public static byte modeFromString(String modeStr)
       {
           byte ret = IN;
  -        if (modeStr.equalsIgnoreCase("out")) {
  +        if (modeStr == null) { 
  +            return IN;
  +        } else if (modeStr.equalsIgnoreCase("out")) {
               ret = OUT;
           } else if (modeStr.equalsIgnoreCase("inout")) {
               ret = INOUT;