users@jax-rpc.java.net

Re: SOAP Headers

From: Raman <raman.mishra_at_gmail.com>
Date: Tue, 15 Nov 2005 11:26:25 +0800

Add the handler-chains in jaxrpc-ri.xml file. I am using this one for
jwsdp1.5 and 1.6 and it's working for my case.
 Sample jaxrpc-ri.xml is coppied below

<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
-->

<webServices xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
version="1.0">

<endpoint name="SecureEndpoint"
displayName="Test Jaas Sample"
description="Secure Endpoint Jaas validation Service"
port="{http://xmlsoap.org/Ping}Ping"
interface="sample.PingPort"
implementation="sample.TestImpl"
model="/WEB-INF/model.xml.gz"
wsdl="/WEB-INF/PingService.wsdl">
<handlerChains>
<chain runAt="server">
<handler className="test.ResponseHandler"/>
</chain>
</handlerChains>
</endpoint>

<endpointMapping endpointName="SecureEndpoint"
urlPattern="/Ping"/>

</webServices>
 Thanks
Raman

 On 11/15/05, Bobby Bissett - Javasoft <Robert.Bissett_at_sun.com> wrote:
>
> > <?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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>