Announcement Announcement Module
Collapse
No announcement yet.
Get information from MessageContext in ClientInterceptor handleRequest method Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Get information from MessageContext in ClientInterceptor handleRequest method

    Hi,

    I am new to Spring WS.
    I am using WebServiceTemplate to make a webservice call.
    Everything seems to be perfectly fine.Now I need to intercept the webservice call by injecting a Custom ClientInterceptor.

    Hence I have written a class which implements ClientInterceptor. So in my handleRequest message, i am doing a check to increase the count based on the endpoint url or operation name or action name.

    But all these three are not part of messageContext and it is part of WebServiceTemplate.

    I need any one of these to be part of messageContext so that i can maintain a map with key as this and value will be the count.

    Can you point me to some documentation or any suggestions on this? I looked in to documentation and api docs but couldnt find any reference?

    Regards
    Srini
Working...
X