Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-698

JSON Unmarshalling with multiple namespaces fails

    Details

    • Steps to Reproduce:
      Hide

      Run the attached web app maven project on a tomcat and then run the test also checked in with the project.

      Show
      Run the attached web app maven project on a tomcat and then run the test also checked in with the project.

      Description

      I have JAXB classes from 2 XSD files that gets mapped to two different namespaces. First are the canonical types and second are my application types. I can marshal a JAXB class to JSON using mapped definition but when the same JSON is posted back and the unmarshaller tries to unmarshal it cant unmarshal and gives namespace errors. It is expecting a type from canonical name space and cant unmarshal.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bill.burke Bill Burke
                Reporter:
                james_bond_007 Jim Bond
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: