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/04/04 18:01:26 UTC

[jira] Assigned: (TUSCANY-2196) passing Java bean using a JSON binding

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

Raymond Feng reassigned TUSCANY-2196:
-------------------------------------

    Assignee: Raymond Feng

> passing Java bean using a JSON binding
> --------------------------------------
>
>                 Key: TUSCANY-2196
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2196
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA JSON-RPC Binding Extension
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows xp2
>            Reporter: Ashwini Kumar J
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>         Attachments: employee-det.war
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The service is exposed over JSON binding and will return a  java bean as a response but as per my knowledge the bean is not properly converted to json object as shown in the smd below:
> {"SMDVersion":".1","objectName":"EmployeeBOService","serviceType":"JSON-RPC","serviceURL":"http://localhost:8080/employee-det/EmployeeJSONService","methods":[{"name":"fetchEmployeeData","parameters":[{"name":"param0","type":"STRING"}]}]}
> Response:
> [object Object]
> Console output is:
> Apr 4, 2008 11:23:07 AM com.metaparadigm.jsonrpc.BeanSerializer analyzeBean
> INFO: analyzing com.infosys.poc.employeedata.EmployeeData

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