You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by "Juan Ignacio Garcia (JIRA)" <ji...@apache.org> on 2010/08/18 23:43:16 UTC

[jira] Commented: (AXIS2-2326) WSDL2Java generates too many if sentences in MessageReceiver's fromOM method with xmlbeans

    [ https://issues.apache.org/jira/browse/AXIS2-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900046#action_12900046 ] 

Juan Ignacio Garcia commented on AXIS2-2326:
--------------------------------------------

This is NOT fixed, the fromOM method still generates one "if (...) ..." for each method fault, event if all faults are actually the same.

> WSDL2Java generates too many if sentences in MessageReceiver's fromOM method with xmlbeans
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2326
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2326
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Java 1.5, Eclipse 3.2.2, Eclipse Axis Plugin 1.2.1
>            Reporter: Jorge Fernández
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>         Attachments: API.wsdl, Medici_LinkMessageReceiverInOut.java
>
>
> If I define in a wsdl that different methods are throwing the same exception, in the fromOM method of the MessageReceiver class generated, it appears a if statement for the exception as many times as methods are throwing it.
> Something similar happens in the generated stub's method populateFaults. Each fault is defined many times, I think as many as methods are throwing them in the skeleton.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org