aspose file tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes Who invokes the handlers? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "Who invokes the handlers?" Watch "Who invokes the handlers?" New topic
Author

Who invokes the handlers?

Saha Kumar
Ranch Hand

Joined: Feb 23, 2006
Posts: 218
Hello All,

Who is responsible for invoking the request/response handlers for:

1) standalone webservice client request/response

2) EJB service endpoint request/response

3) JAX-RPC service endpoint request/response

Thanks in advance.

-Saha
Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
Saha,

The behavior and functioning of message handlers is same as Servlet filters. No one invokes the filter the container takes of it. we only need to specify this in the service-ref element in the web.xml.

Servlet filter chaining and Message handler chaining is pretty much same.

-Harsha
Saha Kumar
Ranch Hand

Joined: Feb 23, 2006
Posts: 218
Harsha,

Thanks for the input. If handlers are to reside on the server, do the handlers get added to the webservice.xml?

Thanks in advance.

-Saha
Harsha Jay
Ranch Hand

Joined: Jul 23, 2001
Posts: 177
Saha

RMH chapter 14 is all about Handlers.I suggest you to go through it.

Refer page 702 in RMH for use of handlers in webservices.xml

Refer page 685 in RMH for use of handlers in web.xml



Harsha
[ December 12, 2006: Message edited by: Harsha Jay ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Who invokes the handlers?
 
Similar Threads
endpoint
JAXWS : A Query with respect to JAX WS Annotations
customize xml response in axis2
Client side and Server side Handlers
declarative services applied in SOAP