[ 
https://issues.apache.org/jira/browse/AXIS2-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490648
 ] 

Manoj Khangaonkar commented on AXIS2-2325:
------------------------------------------

The attached patch takes care of the following :

1. generates multiple fault when necessary

2. generates messages and bindings for the faults

3. Name of fault is type name of the exception

4. AXISFault is shown in the inheritance heirarchy - filter it out - just as we 
do for java.lang.Object.

Jorge,

You'll need to add get/set method to exception - to get the necessary elements 
in the type definetion of the fault

> Java2WSDL does not generate faults correctly
> --------------------------------------------
>
>                 Key: AXIS2-2325
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2325
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP Java 1.5, Eclipse 3.2.2, Axis2 Eclipse Plugin 
> 1.2.1
>            Reporter: Jorge Fernández
>         Assigned To: Deepal Jayasinghe
>         Attachments: API.java, API.wsdl, API.wsdl, axis2-2325patch.txt, 
> IncorrectPasswordFault.java, IncorrectUserFault.java
>
>
> The first problem is that in the WSDL generated my fault name is ignored and 
> instead it's compound from the operation name and "Fault".
> Also  if I throw two exceptions from one operation, in the WSDL only one 
> appears and with the name I said before.
> I attach the API from where I build the WSDL, the Faults classes and the WSDL 
> generated.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to