You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/08/29 17:18:08 UTC

[jira] [Commented] (AXIS2-5403) Always expect parameter array when using JsonRPCMessageReceiver

    [ https://issues.apache.org/jira/browse/AXIS2-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444131#comment-13444131 ] 

Hudson commented on AXIS2-5403:
-------------------------------

Integrated in Axis2 #1744 (See [https://builds.apache.org/job/Axis2/1744/])
    applying patches for AXIS2-5404,AXIS2-5403,AXIS2-5402 (Revision 1378528)

     Result = SUCCESS
amilas : 
Files : 
* /axis/axis2/java/core/trunk/modules/json/src/org/apache/axis2/json/impl/GsonXMLStreamReader.java
* /axis/axis2/java/core/trunk/modules/json/src/org/apache/axis2/json/impl/utils/JsonUtils.java
* /axis/axis2/java/core/trunk/modules/json/src/org/apache/axis2/json/impl/utils/XmlNodeGenerator.java

                
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org