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 2002/03/21 10:54:32 UTC

DO NOT REPLY [Bug 7311] New: - WSDL2Java generates wrong code

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=7311>.
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=7311

WSDL2Java generates wrong code

           Summary: WSDL2Java generates wrong code
           Product: Axis
           Version: beta-1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: thomas@boerkel.de


WSDL2Java has a problem if a WSDL was generated from a Java class that has a 
method that declares "throws Exception". In that case, WSDL2Java generates code 
for an Exception class in the specified package but then generates in the 
constructor of the SoapBindingStub a "catch Exception" instead of "catch 
java.lang.Exception" and that results in a "Exception never thrown" compiler 
error.