axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl WsdlAttributes.java
Date Thu, 11 Oct 2001 19:29:08 GMT
tomj        01/10/11 12:29:08

  Modified:    java/src/org/apache/axis/wsdl WsdlAttributes.java
  Log:
  Default to encoded faults if we didn't find a soap:body tag for the fault.
  
  Revision  Changes    Path
  1.6       +7 -0      xml-axis/java/src/org/apache/axis/wsdl/WsdlAttributes.java
  
  Index: WsdlAttributes.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/WsdlAttributes.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WsdlAttributes.java	2001/10/10 13:45:03	1.5
  +++ WsdlAttributes.java	2001/10/11 19:29:08	1.6
  @@ -358,7 +358,14 @@
               // XXX - we may not have seen all operations
               return USE_ENCODED;
           }
  +
           HashMap m = attr.getFaultBodyTypeMap();
  +
  +        // Default to encoded if we didn't have a soap:body for the fault
  +        if ( ! m.containsKey(faultName) ) {
  +            return USE_ENCODED;
  +        }
  +
           return ((Integer) m.get(faultName)).intValue();
       }
   
  
  
  

Mime
View raw message