axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-3138) Cannot throw same fault from multiple methods
Date Wed, 24 Oct 2007 03:36:51 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Deepal Jayasinghe reassigned AXIS2-3138:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Cannot throw same fault from multiple methods
> ---------------------------------------------
>
>                 Key: AXIS2-3138
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3138
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.2
>         Environment: Windows XP
>            Reporter: Scott Waldner
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>
> I am using Axis2 to consume a web service (client application).  The web service has
multiple methods that throw the same exception.  For example:
>             Method1() throws MyCustomException1
>             Method2() throws MyCustomException1
> When MyCustomException1 is thrown from Method2 it gets returned from the generated client
stubs as a RemoteException instead of MyCustomException1.
> I am not an expert at the implementation of Axis2, but here is what I can see.  It looks
like the generated client stubs are ok.  The generated client stubs are interrogating the
returned exception looking for "Method2.MyCustomException1".  However, the exception it is
comparing against is actually "Method1.MyCustomException1".  This seems like the cause of
the problem - somehow the exception was mapped wrong because two method are throwing this
same exception.
> A similar bug was written previously which fixed the generated code, but it appears that
there are still problems.  See issues AXIS2-2778 and AXIS2-2748.

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


Mime
View raw message