You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2009/01/30 19:08:59 UTC

[jira] Commented: (TUSCANY-2799) jmsObject wireFormat always returning Object[] over service response

    [ https://issues.apache.org/jira/browse/TUSCANY-2799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668958#action_12668958 ] 

Simon Laws commented on TUSCANY-2799:
-------------------------------------

Hi

OASIS hasn't said anything about specific wire formats just yet. I did see that a mail on the mail list (http://lists.oasis-open.org/archives/sca-bindings/200812/msg00077.html) making a proposal for a new issue to define explicit wire formats but I don't see that it's turned into an actual issue yet.

I'll look at what's behind Object[].

Simon


> jmsObject wireFormat always returning Object[] over service response
> --------------------------------------------------------------------
>
>                 Key: TUSCANY-2799
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2799
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JMS Binding Extension
>            Reporter: Scott Kurz
>
> I wanted to note the problem before having time to think through all the issues and code points we need to sort through.
> To start note that WireFormatJMSObjectServiceInterceptor.invokeResponse() does:
>     ... 
>    Object[] response = {msg.getBody()};
> But if my service interface is returning a non-array type like a simple String,  it seems more natural to return a single return value rather than an array here.  
> Not sure where any OASIS specs or discussions of this issue stand at the moment...

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