Results 1 to 4 of 4

Thread: Castor Marshaller and Namespace

  1. #1
    Join Date
    Jun 2008
    Posts
    16

    Default 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?

    Thanks!

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    This could be related to having older versions of Xerces and or Xalan on the classpath.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #3
    Join Date
    Jun 2008
    Posts
    16

    Default

    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.

    Thanks!

  4. #4
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •