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

wireFormat.jsonrpc removed from binding

    XMLWordPrintableJSON

Details

    Description

      I have the composite file below that contains a wireFormat.jsonrpc element. I use the Tuscany model to read in the composite file. I then update the model to add an unrelated second component. When the model is serialized back out, the orignal component and the new component are both present. However, the wireFormat.jsonrpc element from the orignal component has been deleted.

      <?xml version="1.0" encoding="UTF-8"?>
      <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:ns1="http://tuscany.apache.org/xmlns/sca/1.0" xmlns:sp_0="http://tuscany.apache.org/xmlns/sca/1.0" autowire="false" name="Test" targetNamespace="http://temp">
      <component name="testcomponent">
      <service name="service">
      <ns1:binding.http>
      <ns1:wireFormat.jsonrpc/>
      </ns1:binding.http>
      </service>
      </component>
      </composite>

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmoogk Peter Moogk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: