You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2008/02/29 20:38:51 UTC
[jira] Assigned: (TUSCANY-1711) Reference a ws with complex data
type...
[ https://issues.apache.org/jira/browse/TUSCANY-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng reassigned TUSCANY-1711:
-------------------------------------
Assignee: Raymond Feng
> Reference a ws with complex data type...
> ----------------------------------------
>
> Key: TUSCANY-1711
> URL: https://issues.apache.org/jira/browse/TUSCANY-1711
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-Next
> Environment: win jdk1.6 svn 575578 eclipse
> Reporter: gengshaoguang
> Assignee: Raymond Feng
> Fix For: Java-SCA-Next
>
>
> Hi every one:
> I have a suggestion:
> When a Tuscany domain references a WS provided by another (or a WS from any where). If the data type is not primitive, the consumer side must declare classes according to the data structure (or ask for stubs from the provider side).
> This is quite usual BUT, if we could improve a little: declare interface instead of class (respond type only), will it be more "decouple mannered".
> Current scenario: the complex type transformation is done by:
> org.apache.tuscany.sca.databinding.javabeans.XML2JavaBeanTransformer
> it must instantiate the corresponding java type class and set values, I would suggest if the type is a interface, create a proxy.
> (now it gives a instantiation exception).
> Is this worth doing?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org