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 bu...@apache.org on 2003/04/04 05:53:14 UTC
DO NOT REPLY [Bug 18685] New: -
Extension of Exception class generates bad client file
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;
}
}