[
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.