axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Gregg" <john.gr...@techarch.com>
Subject ClassCastException and handlers
Date Fri, 21 Jun 2002 15:15:22 GMT
Hi all.

Perhaps you saw my note to axis-user about a handler I was trying to write.
I created a handler that was a subclass of
javax.xml.rpc.handler.GenericHandler but WSDDDeployableItem expects it to be
org.apache.axis.Handler.  Consequently I was getting a ClassCastException on
line 355 of version 1.35.  The Axis implementation is free to use its own
implementations internally, but all points of contact with application code
should stick to the interfaces.  That's the point of the interface and the
main reason I like Axis so much better than Apache SOAP.  Anyway, it doesn't
appear to be a trivial matter to just change the cast, unfortunately.  I'd
appreciate it if someone can suggest a way around this.  I'm even willing to
tie myself to the Axis implemetation classes in the short run if I know I
can remove those dependencies later.

thanks

john


Mime
View raw message