dev@ws-test-harness.java.net

handlers in the test harness?

From: Bobby Bissett <bobby.bissett_at_sun.com>
Date: Tue, 20 Jun 2006 16:41:43 -0400

(Note: Am bcc'ing Harold since I don't know if he's on the email list.)

I have the templates for web.xml and sun-jaxws.xml mostly done. Have we
considered how users will add handlers to their test cases?

As background, here are the three ways users do it normally:

-Starting from java, an annotation is added to the service impl class
that points to an xml file containing the handler lists.
-Starting from wsdl, the user adds the handler chain xml to the
customization file passed to wsimport.
-On the server side, users can add the handler chain xml to the
sun-jaxws.xml file (this overrides other ways of specifying handlers).

In each case, the xml used to describe the handlers is the same. In
other words, the handler descriptor schema (jsr 109) is the same no
matter how they specify the handlers.

How would we like to add this? I've attached a simple sample of a
handler chain file, but they can get very complex as well. We may have
to let users supply the whole file rather than providing a short cut,
but I'm not sure.

Thanks,
Bobby