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
Fix For: Java-SCA-Next
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]