users@jax-rpc.java.net

Re: SOAP Headers

From: Bobby Bissett - Javasoft <Robert.Bissett_at_Sun.COM>
Date: Mon, 14 Nov 2005 11:32:37 -0500

> <?xml version="1.0" encoding="UTF-8"?>
> <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
> <wsdl location="JWSDP-Service.wsdl" packageName="com.example.jwsdp">
> </wsdl>
> <handlerChains>
> <chain runAt="server">
> <handler
> className="com.example.jwsdp.handlers.Example"/>
> </chain>
> </handlerChains>
> </configuration>

Hi,

Try it like this:

<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="JWSDP-Service.wsdl" packageName="com.example.jwsdp">
         <handlerChains>
             <chain runAt="server">
                 <handler
className="com.example.jwsdp.handlers.Example"/>
             </chain>
         </handlerChains>
</wsdl>
</configuration>

The handlerChains element is a child of the wsdl element.

Your jaxrpc-ri.xml example looks ok to me; I don't know what is going
wrong there without more information (is there any error output in yout
Tomcat log?).

Cheers,
Bobby