|
Tony:
Thanks for your help. I didn't search through my mail
folder for your previous response before I sent out the 2nd with
more information I got through debugger.
Finally, it works through a class extending
org.apache.axis.handlers.JAXRPCHandler. I guess it should work too by
extending the BasicHandler.
Best Regards,
Feng From: zze-ELSOKHON Tony RD-BIZZ-ISS [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 31, 2005 12:03 PM To: [email protected] Subject: RE: which Handler interface to implement ? in order to write a user defined handler to log SOAP request ? Feng, As explained in the
user guide, and as I told you in my previous post, you should extend
org.apache.axis.handler.BasicHandler in order to write a user defined
handler. Best
regards, De : Feng Xie
(fxie) [mailto:[EMAIL PROTECTED] I am using Axis
1.2RC3. I wrote a simple Handler class which
extends GenericHandler class, which in turn implements
java.xml.rpc.handler.Handler. This handler interface provides API to printout
Soap request. I deployed it into the requestFlow of a service which has
following attribute <service name="SystemDataMgrPort" provider="java:RPC"
style="document" use="literal"> However, when I send a Soap request
to this server, an configuration exception occurs at
WSDDDeployableItem.java:302. Using debugger, I found that Axis engine tries to
cast a java.xml.rpc.handler.Handler instance to
a org.apache.axis.Handler. Which handler interface should I use
for this case ? Seems like I could extend
org.apache.axis.handler.JAXRPCHandler. Thanks in
advance, Feng |
