axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18685] New: - Extension of Exception class generates bad client file
Date Fri, 04 Apr 2003 03:53:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18685>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18685

Extension of Exception class generates bad client file

           Summary: Extension of Exception class generates bad client file
           Product: Axis
           Version: 1.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: rmak@mail.arc.nasa.gov


My server object has 8 remote methods.  Each method can throw 
MiddlewareException, which extends java.lang.Exception.  WSDL2Java generates 
the following bogus file:

/**
 * MiddlewareException.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package StreamerService;

public class MiddlewareException extends org.apache.axis.AxisFault {
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }
    public java.lang.String MiddlewareException;
    public java.lang.String getMiddlewareException() {
        return this.MiddlewareException;
    }

    public MiddlewareException() {
    }

      public MiddlewareException(java.lang.String MiddlewareException, 
java.lang.String MiddlewareException, java.lang.String MiddlewareException, 
java.lang.String MiddlewareException, java.lang.String MiddlewareException, 
java.lang.String MiddlewareException, java.lang.String MiddlewareException, 
java.lang.String MiddlewareException) {
        this.MiddlewareException = MiddlewareException;
        this.MiddlewareException = MiddlewareException;
        this.MiddlewareException = MiddlewareException;
        this.MiddlewareException = MiddlewareException;
        this.MiddlewareException = MiddlewareException;
        this.MiddlewareException = MiddlewareException;
        this.MiddlewareException = MiddlewareException;
        this.MiddlewareException = MiddlewareException;
    }
}

Mime
View raw message