axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdl/fromJava Types.java
Date Mon, 29 Jul 2002 19:20:50 GMT
dims        2002/07/29 12:20:50

  Modified:    java/src/org/apache/axis/encoding/ser BeanSerializer.java
               java/src/org/apache/axis/description ServiceDesc.java
               java/src/org/apache/axis/wsdl/fromJava Types.java
  Log:
  Patch for 10788 - Web Service throwing AxisFault leads to corrupt WSDL
  
  Revision  Changes    Path
  1.45      +2 -0      xml-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java
  
  Index: BeanSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- BeanSerializer.java	22 Jul 2002 20:10:04 -0000	1.44
  +++ BeanSerializer.java	29 Jul 2002 19:20:50 -0000	1.45
  @@ -258,6 +258,8 @@
           if (superClass != null &&
                   superClass != java.lang.Object.class &&
                   superClass != java.lang.Exception.class &&
  +                superClass != java.lang.Throwable.class &&
  +                superClass != java.rmi.RemoteException.class &&
                   superClass != org.apache.axis.AxisFault.class &&
                   (stopClasses == null ||
                   !(stopClasses.contains(superClass.getName()))) ) {
  
  
  
  1.43      +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.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- ServiceDesc.java	20 Jul 2002 00:30:19 -0000	1.42
  +++ ServiceDesc.java	29 Jul 2002 19:20:50 -0000	1.43
  @@ -920,6 +920,7 @@
               // Ignore java and javax package exceptions.
               Class ex = exceptionTypes[i];
               if (ex != java.rmi.RemoteException.class &&
  +				ex != org.apache.axis.AxisFault.class &&
                   !ex.getName().startsWith("java.") &&
                   !ex.getName().startsWith("javax.")) {
   
  
  
  
  1.51      +2 -0      xml-axis/java/src/org/apache/axis/wsdl/fromJava/Types.java
  
  Index: Types.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/Types.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- Types.java	29 Jul 2002 15:38:09 -0000	1.50
  +++ Types.java	29 Jul 2002 19:20:50 -0000	1.51
  @@ -1018,6 +1018,8 @@
           if (superClass != null &&
               superClass != java.lang.Object.class &&
               superClass != java.lang.Exception.class &&
  +            superClass != java.lang.Throwable.class &&
  +            superClass != java.rmi.RemoteException.class &&
               superClass != org.apache.axis.AxisFault.class &&
               (stopClasses == null ||
                !(stopClasses.contains(superClass.getName()))) ) {
  
  
  

Mime
View raw message