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/05 12:41:05 UTC

[jira] Commented: (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:comment-tabpanel#action_12470187 ] 

Deepal Jayasinghe commented on AXIS2-1215:
------------------------------------------

Hi Kris ;

I went thu your patch as well as the current code base and found that ScheamUtill does not have the code that you are trying to change . As I can see Keith has changed that a lot , so can you please a new patch .

Thanks
Deepal

> 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