Re: JAX-WS 2.0: SOAP handlers don't work

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Wed, 05 Oct 2005 14:10:42 -0400

> I wrote a web service with a server side SOAP handler using
> JAXWS_SI_20050929 and deployed it on Apache Tomcat 5.5.9. There are no
> error messages in Tomcat logs and client applications work too, but the
> handler doesn't work, as if its methods were simply not called at all.
> What do I make wrong?

You probably did nothing wrong -- the schema for the handler files has
changed, but the examples have not caught up yet (I'll change them today).

Try this for your handle chain file:
<handler-chains xmlns="">

instead of:
> ----
> <?xml version="1.0" encoding="UTF-8"?>
> <handler-config>
> <handler-chain>
> <handler-chain-name>Chain1</handler-chain-name>
> <handler>
> <handler-class>service3.handlers.SimpleHandler</handler-class>
> </handler>
> </handler-chain>
> </handler-config>

Let me know if that works for you.