[ 
https://issues.apache.org/jira/browse/TUSCANY-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luciano Resende resolved TUSCANY-3259.
--------------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: Java-SCA-Next

I can't reproduce the issue, and have created two test cases to verify that 
operationSelector and wireFormat elements are written back to the composite

Please try to change your composite as below:
<ns1:wireFormat.jsonrpc/> 
to
<sp_0:wireFormat.jsonrpc/> 

> wireFormat.jsonrpc removed from binding
> ---------------------------------------
>
>                 Key: TUSCANY-3259
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3259
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA HTTP Binding
>    Affects Versions: Java-SCA-1.5.1
>            Reporter: Peter Moogk
>             Fix For: Java-SCA-1.5.1, Java-SCA-Next
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to