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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/02/06 05:19:05 UTC

[jira] Resolved: (AXIS2-1215) REST request not getting parsed correctly if parameter input type is an array

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

Deepal Jayasinghe resolved AXIS2-1215.
--------------------------------------

    Resolution: Fixed

fixed the issue in the current code base ,
I made the changes by looking at the patch.

> REST request not getting parsed correctly if parameter input type is an array
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2-1215
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1215
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.0
>         Environment: windows xp pro, IE, Axis 2 version 1.0
>            Reporter: Kris
>         Assigned To: Deepal Jayasinghe
>            Priority: Critical
>         Attachments: patch-1215.txt, patch-1215v2.txt
>
>
> I have a method that takes in array for strings: 
>          public String sayHello(String [ ] to) {...}
> The SOAP request for this works fine. The REST request however gets translated into a fixed length array of only one string. For example, in the request                                 http://localhost:8080/axis2/rest/helloservice/sayHello?to=Andy&to=Mark&to=Jen
> Mark and Jen are thrown away and only Andy is passed on into the array.

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