Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-33

CastorMarshaller is missing a way to specify the Castor-generated class to use during unmarshalling.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 M1
    • Fix Version/s: 1.0 M2
    • Component/s: OXM
    • Labels:
      None

      Description

      The class org.springframework.oxm.castor.CastorMarshaller is unable to unmarshal XML to Java unless a mapping file is used. Typically a mapping file is NOT used with Castor when using Castor-generated Java classes (generated from an XML schema).

      The method org.exolab.castor.xml.Unmarshaller.unmarshal(Class clazz) should be used when the class type is specified.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              mskendrick Shannon Kendrick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: