Details

    • Patch Info:
      Patch Available

      Description

      There is a JAXB feature to create JAXB context by specifying the whole array of all mapping classes. Tuscany databinding-jaxb plug-in unable to work with.
      As a result, when application uses SCA for transmitting objects created by specifying complex JAXB context it crashes.

      This plug-in (databinding-jaxb) creates context for marshalling on very simple way. It gets class of root object and asks for JAXB to create context by providing it. So it supports only simple/default JAXB contexts.

      Its suggested more sophisticated procedure.
      1. try to use default/simple context
      2. if it does not work, to collect all JAXB related classes used in instance object and its properties/subobjects by reflection and to create context by array.

      1. JAXBDataBinding.java
        9 kB
        Ivan Churkin
      2. workspace.rar
        885 kB
        Ivan Churkin

        Activity

        Ivan Churkin created issue -
        Ivan Churkin made changes -
        Field Original Value New Value
        Attachment JAXBDataBinding.java [ 12382918 ]
        Ivan Churkin made changes -
        Attachment workspace.rar [ 12383300 ]
        Ivan Churkin made changes -
        Environment databinding-jaxb, OSGi (but i think it should affects non-OSGi version too) databinding-jaxb, OSGi
        ant elder made changes -
        Fix Version/s Java-SCA-Next [ 12312358 ]
        ant elder made changes -
        Component/s SCA Java Runtime [ 12313754 ]
        Component/s Java SCA Data Binding Runtime [ 12311790 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ivan Churkin
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development