Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Java-SCA-1.5.1
-
None
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>