You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jorge Fernández (JIRA)" <ji...@apache.org> on 2007/03/14 22:25:09 UTC

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

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: Axis 2.0 (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
            Priority: Trivial


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.

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


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

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

Davanum Srinivas reassigned AXIS2-2326:
---------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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: Axis 2.0 (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
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Trivial
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

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

Deepal Jayasinghe updated AXIS2-2326:
-------------------------------------

    Priority: Blocker  (was: Trivial)

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


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

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

Amila Chinthaka Suriarachchi resolved AXIS2-2326.
-------------------------------------------------

    Resolution: Fixed

Has already fixed

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


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

Posted by "Sudhakar V Chellam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749549#action_12749549 ] 

Sudhakar V Chellam commented on AXIS2-2326:
-------------------------------------------

Hi,
Where is this issue resolved. I tried using AXIS1.4.1 and 1.5 version of the code gent, the fromOM method still contains duplicate entries. 
Due to this I am getting java compiler error ( code too large ) issue. Please let me know where the patch or the fix is.

Thanks and Regards
Sudhakar

> 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: Axis 2.0 (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.


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

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2326:
-----------------------------------

    Description: 
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.

  was: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.


> 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: Axis 2.0 (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
>            Priority: Trivial
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


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

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2326:
-----------------------------------

    Attachment: API.wsdl

This is the wsdl from which I generate code

> 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: Axis 2.0 (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
>            Priority: Trivial
>         Attachments: API.wsdl
>
>
> 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.

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


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

Posted by "Jorge Fernández (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jorge Fernández updated AXIS2-2326:
-----------------------------------

    Attachment: Medici_LinkMessageReceiverInOut.java

This is the message receiver that was generated

> 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: Axis 2.0 (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
>            Priority: Trivial
>         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.

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


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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481417 ] 

Davanum Srinivas commented on AXIS2-2326:
-----------------------------------------

Jorge,

can u please upload your wsdl/xsd?

thx,
dims

> 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: Axis 2.0 (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
>            Priority: Trivial
>
> 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.

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