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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2006/09/30 17:38:19 UTC

[jira] Commented: (AXIS2-1277) Exceptions of void-operations will not get delivered by the client

    [ http://issues.apache.org/jira/browse/AXIS2-1277?page=comments#action_12438900 ] 
            
Deepal Jayasinghe commented on AXIS2-1277:
------------------------------------------

What is the operation you are using in the sreviceclint to invoke the service
 
sendRobust
fireAndForget
sendReceive
sendReceiveNonBlocking



> 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