You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kaushik Mukherjee (JIRA)" <de...@tuscany.apache.org> on 2009/09/25 00:54:16 UTC

[jira] Created: (TUSCANY-3282) Support independent input and out data bindings

Support independent input and out data bindings
-----------------------------------------------

                 Key: TUSCANY-3282
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3282
             Project: Tuscany
          Issue Type: Improvement
            Reporter: Kaushik Mukherjee


The current interface processors assume that the input and output databindings will always be same. 

In the JAXWSJavaInterfaceProcessor the output wrapper is not set correctly.
In the WrapperJavaInterfaceProcessor the output wrapper handler is set to be the same as the input wrapper handler. 

I have provided a patch to split the input and output databindings in these classes.

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


[jira] Commented: (TUSCANY-3282) Support independent input and out data bindings

Posted by "Kaushik Mukherjee (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759533#action_12759533 ] 

Kaushik Mukherjee commented on TUSCANY-3282:
--------------------------------------------

We may have a case where we have an input of JAXB and an output of SDO or vice-versa.

DataObject someMethod(Person person);

> Support independent input and out data bindings
> -----------------------------------------------
>
>                 Key: TUSCANY-3282
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3282
>             Project: Tuscany
>          Issue Type: Improvement
>            Reporter: Kaushik Mukherjee
>         Attachments: TUSCANY-3282.patch
>
>
> The current interface processors assume that the input and output databindings will always be same. 
> In the JAXWSJavaInterfaceProcessor the output wrapper is not set correctly.
> In the WrapperJavaInterfaceProcessor the output wrapper handler is set to be the same as the input wrapper handler. 
> I have provided a patch to split the input and output databindings in these classes.

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


[jira] Commented: (TUSCANY-3282) Support independent input and out data bindings

Posted by "Raymond Feng (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759327#action_12759327 ] 

Raymond Feng commented on TUSCANY-3282:
---------------------------------------

Thanks for the patch. It's a bit strange that different databindings are used for the input and ouput. Maybe an example will help.

> Support independent input and out data bindings
> -----------------------------------------------
>
>                 Key: TUSCANY-3282
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3282
>             Project: Tuscany
>          Issue Type: Improvement
>            Reporter: Kaushik Mukherjee
>         Attachments: TUSCANY-3282.patch
>
>
> The current interface processors assume that the input and output databindings will always be same. 
> In the JAXWSJavaInterfaceProcessor the output wrapper is not set correctly.
> In the WrapperJavaInterfaceProcessor the output wrapper handler is set to be the same as the input wrapper handler. 
> I have provided a patch to split the input and output databindings in these classes.

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


[jira] Updated: (TUSCANY-3282) Support independent input and out data bindings

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

Kaushik Mukherjee updated TUSCANY-3282:
---------------------------------------

    Attachment: TUSCANY-3282.patch

Patch is for 1.5.1 branch. 

Files modified: 

https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.5.1/modules/core-databinding/src/main/java/org/apache/tuscany/sca/core/databinding/processor/WrapperJavaInterfaceProcessor.java

https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.5.1/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/JAXWSJavaInterfaceProcessor.java

> Support independent input and out data bindings
> -----------------------------------------------
>
>                 Key: TUSCANY-3282
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3282
>             Project: Tuscany
>          Issue Type: Improvement
>            Reporter: Kaushik Mukherjee
>         Attachments: TUSCANY-3282.patch
>
>
> The current interface processors assume that the input and output databindings will always be same. 
> In the JAXWSJavaInterfaceProcessor the output wrapper is not set correctly.
> In the WrapperJavaInterfaceProcessor the output wrapper handler is set to be the same as the input wrapper handler. 
> I have provided a patch to split the input and output databindings in these classes.

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