You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2007/06/28 12:09:26 UTC

[jira] Created: (CXF-751) Java->WSDL doen't generate correct fault element

Java->WSDL doen't generate correct fault element
------------------------------------------------

                 Key: CXF-751
                 URL: https://issues.apache.org/jira/browse/CXF-751
             Project: CXF
          Issue Type: Bug
            Reporter: jimma


When generate wsdl with the below exception : 

@WebFault(name="faultDetail", namespace="org.apache.cxf")
public class AddNumbersException extends Exception {
    
    public AddNumbersException() {
    }

    public AddNumbersException(String message) {
        super(message);
    }

    public AddNumbersException(Throwable cause) {
        super(cause);
    }

    public AddNumbersException(String message, Throwable cause) {
        super(message, cause);
    }

}

We get the wrong fault element and message element : 
  <wsdl:message name="faultDetail">
    <wsdl:part name="fault" element="ns1:faultDetail">
    </wsdl:part>
  </wsdl:message>

 <wsdl:fault name="faultDetail" message="ns1:faultDetail">


Fault element and message element should be ns1:AddNumbersException





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-751) Java->WSDL doen't generate correct fault element

Posted by "jimma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jimma resolved CXF-751.
-----------------------

    Resolution: Fixed

> Java->WSDL doen't generate correct fault element
> ------------------------------------------------
>
>                 Key: CXF-751
>                 URL: https://issues.apache.org/jira/browse/CXF-751
>             Project: CXF
>          Issue Type: Bug
>            Reporter: jimma
>
> When generate wsdl with the below exception : 
> @WebFault(name="faultDetail", namespace="org.apache.cxf")
> public class AddNumbersException extends Exception {
>     
>     public AddNumbersException() {
>     }
>     public AddNumbersException(String message) {
>         super(message);
>     }
>     public AddNumbersException(Throwable cause) {
>         super(cause);
>     }
>     public AddNumbersException(String message, Throwable cause) {
>         super(message, cause);
>     }
> }
> We get the wrong fault element and message element : 
>   <wsdl:message name="faultDetail">
>     <wsdl:part name="fault" element="ns1:faultDetail">
>     </wsdl:part>
>   </wsdl:message>
>  <wsdl:fault name="faultDetail" message="ns1:faultDetail">
> Fault element and message element should be ns1:AddNumbersException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.