[
https://issues.apache.org/jira/browse/AXIS2-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amila Chinthaka Suriarachchi resolved AXIS2-5403.
-------------------------------------------------
Resolution: Fixed
applied the patch
> Always expect parameter array when using JsonRPCMessageReceiver
> ----------------------------------------------------------------
>
> Key: AXIS2-5403
> URL: https://issues.apache.org/jira/browse/AXIS2-5403
> Project: Axis2
> Issue Type: Bug
> Components: json
> Affects Versions: 1.7.0
> Reporter: Shameera Rathnayaka
> Assignee: Shameera Rathnayaka
> Labels: gson, json
> Fix For: 1.7.0
>
> Attachments: AXIS2-5403.patch
>
>
> invokeService method in org.apache.axis2.json.impl.utils.JsonUtils class
> checks num of parameters , if parameter count is more than one, then it
> expects to be those parameters, values of JSON Array in request, if parameter
> count is equal to one then it doesn't expect to be that parameter, a value of
> JSON array. But it is better to expect parameters come as a values of JSON
> array always, even there is one parameter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]