Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are JAX-WS Interceptors (also known as handlers)?

What are JAX WS Interceptors? Where do I find info regarding the same!

like image 501
Ajay Avatar asked Sep 09 '09 08:09

Ajay


2 Answers

JAX-WS interceptors (also called handlers) are used to weave in aspects of the request in a transparent way. Example of this are logging or requests/responses, adding security headers to the message, encryption, compression, etc. A single interceptor can manipulate either the logical payload (content) of the message or the protocol of the message, but cannot do both.

See here for the introductory documentation on them.

like image 92
skaffman Avatar answered Oct 13 '22 23:10

skaffman


Handlers are basically similar to filters, but for inboud and output processing of SOAP messages. Here is a quick tutorial I found.

like image 40
Taylor Leese Avatar answered Oct 14 '22 01:10

Taylor Leese