axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishanthan Thangarajah (JIRA)" <>
Subject [jira] [Updated] (AXIS2-3744) XXXMessageRecieverInOut.fromOM() does contain duplicated code for XmlBeans Binding
Date Wed, 02 May 2012 18:50:50 GMT


Kishanthan Thangarajah updated AXIS2-3744:

    Attachment: AXIS2-3744.patch

This patch address the improvement. What i did was first sorted and then checked to see weather
any duplicated item proceeds the current item in the for-each loop. I'm also adding a sample
wsdl to check this improvement.

> XXXMessageRecieverInOut.fromOM() does contain duplicated code for XmlBeans Binding 
> -----------------------------------------------------------------------------------
>                 Key: AXIS2-3744
>                 URL:
>             Project: Axis2
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.4
>            Reporter: Stefan Lischke
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Trivial
>              Labels: XMLBeans,
>         Attachments: AXIS2-3744.patch, sample.wsdl
> The fromOM Method of the generated MessageReciever does contain duplicated code. 
> For every operation there is an if-statement equals(type) for the in and out message
and for the ExceptionDocument. If the same Exception is shared between different Operations,
the if-code is duplicated in this method.
> Should be no Problem :-)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message