axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio Bossa (JIRA)" <>
Subject [jira] Created: (AXIS-1963) WSDL2JAVA problems with custom exceptions
Date Thu, 28 Apr 2005 09:10:25 GMT
WSDL2JAVA problems with custom exceptions

         Key: AXIS-1963
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC2, 1.2RC3    
 Environment: Linux
    Reporter: Sergio Bossa

I have a custom exception coded as follows:

public class MySOAPFault extends AxisFault
    public static final String ERROR="Error.1";
    public MySOAPFault(String code, String message)

And this is its WSDL mapping:

<element name="MySOAPFault">


<wsdl:message name="MySOAPFault">
      <wsdl:part element="tns:MySOAPFault" name="fault"/>


When I run WSDL2JAVA over my WSDL, I get a class named MySOAPFault_Element (not MySOAPFault,
as it should be), leading to compile time errors.
However, all works fine if I use Axis API directly, or if I use other languages: the custom
exception is correctly thrown and deserialized.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message