axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hawkins <HAWKI...@uk.ibm.com>
Subject RE: Can a handler determine if a SOAP request should be abandoned?
Date Tue, 17 Aug 2004 08:08:38 GMT




Hello,

What does the caller of the service see - an exception?

John Hawkins



                                                                           
             "Susantha Kumara"                                             
             <susantha@opensou                                             
             rce.lk>                                                    To 
                                       "'Apache AXIS C Developers List'"   
             17/08/2004 06:32          <axis-c-dev@ws.apache.org>          
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              "Apache AXIS C           RE: Can a handler determine if a    
             Developers List"          SOAP request should be abandoned?   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Yes if the invoke method returns AXIS_FAIL Axis abandons the SOAP request.
But the onFault method of same handler’s and previously invoked handler’s
are called in reverse order.





Susantha Kumara


Virtusa (pvt) Ltd.


Office : +94112714385


Mobile : +94777420453


-----Original Message-----
From: Sharanka Perera [mailto:sharanka@opensource.lk]
Sent: Friday, August 13, 2004 5:29 PM
To: Apache AXIS C Developers List
Subject: Can a handler determine if a SOAP request should be abandoned?





Hi,





Is it possible to instruct Axis to abort processing on a SOAP request from
within a handler? For instance, if a handler is used to authenticate a
request, there should be some way to abort the whole thing and return to
status quo if the authentication attempt fails. A handler comes with a
"onFault" method, but I don't know if this will simply report an error to
the Axis engine or make it stop the SOAP message processing altogether.








Thanks!





Sharanka

Mime
View raw message