axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas, Berlinghoff (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1277) Exceptions of void-operations will not get delivered by the client
Date Sat, 30 Sep 2006 15:22:19 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1277?page=all ]

Thomas, Berlinghoff updated AXIS2-1277:
---------------------------------------

    Attachment: exception_test.rar

Attached a rar-Archiv containing the used WSDL-Document as well as source code ready to compile.
The resulting service will have two operations (one is a void operation while the other is
not), both throwing an exception.

Cheers,

Thomas

> Exceptions of void-operations will not get delivered by the client
> ------------------------------------------------------------------
>
>                 Key: AXIS2-1277
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1277
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>         Environment: Windows XP / Linux ; Java 1.5 ; Axis-1.0 and nightly build
>            Reporter: Thomas, Berlinghoff
>         Attachments: exception_test.rar
>
>
> I've got the problem that exceptions thrown by a void operation are not recognized by
the client, while non-void operations are working well.
> Also if trying to catch the exception using code generated by the currently nightly build,
javac complains about the exception is never thrown in the corresponding "try" statement.
Prior nightly builds (as well as the official version 1.0) had allowed to use a catch statements,
but, as described above, with no effect.
> As the operations contained in the Service skeleton state to throw the exceptions in
question, but a try/catch within the client is not allowed at all (at least in the current
nightly build) I am unsure if this is a bug or a restriction of my choosed options in the
WSDL document (I am using doc/lit, for the case that matters).
> Cheers,
> Thomas

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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