The definition by <requestFlow> and <responseFlow> is a style to specify the order and parameters of Axis-based handlers. It might be better to use the following style, if you surely want to keep the JAX-RPC spec.
<handlerInfoChain> <handlerInfo classname="samples.jaxrpc.hello.ClientHandler1"> <parameter name="param1" value="abc"/> </handlerInfo> <handlerInfo classname="samples.jaxrpc.hello.ClientHandler2"> <parameter name="param2" value="xyz"/> </handlerInfo> </handlerInfoChain> Thanks, Toshi On Tue, 12 Jul 2005, Venkat Reddy wrote:
You need to specify the handler in deploy.wsdd, something like the following <requestFlow> <handler type="java:org.apache.axis.handlers.JAXRPCHandler"> <parameter name="scope" value="session"/> <parameter name="className" value="samples.jaxrpc.hello.ClientHandler"/> </handler> </requestFlow> <responseFlow> <handler type="java:org.apache.axis.handlers.JAXRPCHandler"> <parameter name="scope" value="session"/> <parameter name="className" value="samples.jaxrpc.hello.ClientHandler"/> </handler> </responseFlow> You can refer to the samples/jaxrpc --venkat
On 7/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Thank your reply.I have try that with making use of Axis's own Handler interface,it's ok! But now,I alse want to try the JAX-RPC handler implementing javax.xml.rpc.handler.Handler interface, Who does this?I'm very appreciate with your help! Best Regards, Robert Zhang Email:[EMAIL PROTECTED] Tel:86-010-62014411-2437 ----- $BT-SJ<~(B ----- $B4S(B: Dong Liu <[EMAIL PROTECTED]> $BHUFZ(B: $BPGFZ6~(B, $BF_TB(B 12$BHU(B, 2005 $BIONg(B9:13 $BVwLb(B: Re: How to configure and deploy JAX-RPC handler in Axis? > Axis has its own Handler interface. No idea about the difference > between axis handler and javax handler. Anyway, you can first try to > deploy the handler like axis handler, and then see if it work, and > what is the error. > > Cheers, > > Don > > On 7/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all > > I have wrote a handler class implement the > javax.xml.rpc.handler.Handler interface. But I don't know how to > > configure and deploy it at the server side in Axis.I know the > Axis is compliant with JAX-RPC specification and should be surport it. > > > > Thanks in advance:) > > > > > > Best Regards, > > > > Robert Zhang > > Email:[EMAIL PROTECTED] > > Tel:86-010-62014411-2437 > > > > >