I am having troubles creating a handler to intercept the header information in my
soap message.
my service works fine without the handler, but when I add the handler I get errors in the sun
java app server 8.2 logs.
the service takes 2 numbers in the soap request, and adds them, and then prints the result in the response.
then I put in the webservices.xml file:
and I add my handler class to the project: (just a lot of print statements for now)
a snap shot of the log is here: (this occurs when I try to submit a soap request in soapUI to the service)
2012 SEVERE caught exception while preparing response: java.lang.ClassCastException: com.sun.xml.internal.messag...
(details) com.sun.xml.rpc.server Aug 19, 2010 15:44:10.328 _ThreadID=22;
2011 SEVERE caught exception while handling request: java.lang.ClassCastException: com.sun.xml.internal.messagin...
(details) com.sun.xml.rpc.server Aug 19, 2010 15:44:10.328 _ThreadID=22;
2010 SEVERE caught exception while handling request: java.lang.IllegalStateException: Can't overwrite cause
java...
(details) com.sun.xml.rpc.server Aug 19, 2010 15:44:10.312 _ThreadID=22;
2009 SEVERE Can't overwrite cause
at java.lang.Throwable.initCause(Throwable.java:320)
at com.sun.enterprise.w...
(details) com.sun.xml.rpc.server Aug 19, 2010 15:44:10.296 _ThreadID=22;