Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2084

Problems deserializing XML->SDO after using XMLType element calculated from Java to serialize SDO->XML onto

    XMLWordPrintableJSON

Details

    Description

      Discussed in this thread:
      http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg28304.html

      Personally I worked around this by changing SDODatabinding.introspect() to do:
      dataType.setLogical(new XMLType(null, xmlType));
      //dataType.setLogical(new XMLType(elementName, xmlType));

      But Raymond suggested possibly fixing this in the SDO impl. It would also be possible to leave introspection the same
      but workaround this in the SDO transformers.

      Note that if you use the WS binding you typically won't see this, because the presence of the WSDL intf on the XML side of things
      gives you a real element to serialize into, one that SDO can recognize during deserialization. You have to have a binding without a WSDL intf
      that you're transforming across.

      Attachments

        Activity

          People

            Unassigned Unassigned
            scottkurz Scott Kurz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: