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

JSON Unmarshalling with multiple namespaces fails

    XMLWordPrintable

Details

    • 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.

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            james_bond_007_jira Jim Bond (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: