Jun 10th, 2008, 11:54 AM
Castor Marshaller and Namespace
I am new to Spring WebServices, and stumped! I have a service that is working using the CastorMarshaller, but on the return to the client, the SOAP message does not have the namespace, so the CastorMarshaller fails when trying to unmarshall.
Any idea why the namespace inside the body of the soap message wouldn't be set? I tried marshalling outside of spring with Castor using the same mapping config files, and it marshalled the result properly with the namespace included. I think the mapping files are right, so think maybe I missed a configuration somewhere?
Jun 16th, 2008, 06:30 AM
This could be related to having older versions of Xerces and or Xalan on the classpath.
Jun 16th, 2008, 10:57 AM
I believe that may be the case. The code does not run correctly on OSX, but does run correctly on Windows. I'll look at the OSX JRE.
Jun 17th, 2008, 05:15 AM