I am trying to set up a relatively simple web service using Spring WS, but am running into an error in the SAAJ classes. My environment is Java SDK 1.6, Tomcat 6.0.13, using spring-ws 1.0-rc2 maven bundles. The service is set up to use the Jaxb2Marshaller.
When debugging my webservice with a simple soap client (soapui.org) I get an error on any dummy request, somewhere during serialization of the response object stuff breaks down:
The following occurs in my catalina.out:
Corresponding stacktrace in localhost.log:
SEVERE: SAAJ0539: Unable to get header stream in saveChanges
Jul 23, 2007 5:43:36 PM com.sun.xml.internal.messaging.saaj.soap.MessageImpl sav
SEVERE: SAAJ0540: Error during saving a multipart message
I am stumped (nor have I been able to find anything helpful through Google). If anybody has a clue as to what could be wrong (doubtless it's something simple, I am a Spring-WS newbie) that would be most helpful!
java.io.IOException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to