Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-778

Call a new method of ClientInterceptor when sending the message failed


    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.RC1
    • Component/s: Core
    • Labels:



      ClientInterceptor handleResponse or handleFault aren't called when the process send a message to a remote server and this server doesn't answer (404...).
      It's normal because no soap response message has been sent.
      It could be interesting to have another function, for example : handleException or handleError in order to get the deal the request status when server doesn't answer a compliant message.

      I know there are ExceptionResolver and I'm already using it but i need such a method for doing the process below :

      • In my ClientInterceptor, I track sent message and current time in handleRequest
      • I'm already tracking soap response and current time at response
      • I can't track response time and http status (or JMS...) when connexion fails...

      If needed, I can add my class which is in an opensource project.


        pilerou Pierre Le Roux created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Fix Version/s 2.2 M1 [ 12850 ]
        Issue Type Improvement [ 4 ] New Feature [ 2 ]
        Assignee Arjen Poutsma [ arjen.poutsma ]
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]


          • Assignee:
            arjen.poutsma Arjen Poutsma
            pilerou Pierre Le Roux
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: