You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Peter Moogk (JIRA)" <de...@tuscany.apache.org> on 2009/09/03 17:22:57 UTC

[jira] Created: (TUSCANY-3259) wireFormat.jsonrpc removed from binding

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


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.


[jira] Resolved: (TUSCANY-3259) wireFormat.jsonrpc removed from binding

Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
     [ 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.


[jira] Closed: (TUSCANY-3259) wireFormat.jsonrpc removed from binding

Posted by "Peter Moogk (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Moogk closed TUSCANY-3259.
--------------------------------


It looks like there was a problem with how we build our tuscany jar file.  Thanks for investigating this problem.

> 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.