synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SYNAPSE-431) Problem when passing a String array through a proxy service
Date Sun, 14 Jun 2009 16:46:07 GMT

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

Andreas Veithen resolved SYNAPSE-431.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Since SYNAPSE-555 is fixed, this issue should also be resolved.

> Problem when passing a String array through a proxy service
> -----------------------------------------------------------
>
>                 Key: SYNAPSE-431
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-431
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.1.1
>            Reporter: sumedha rubasinghe
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> I have a proxy service(MyServiceProxy), which calls an Axis2 Service.
> My Axis Service(POJO) implementation is as follows:
> MyService{
>   public String dosomething(String[] params)
>    ....
>    ....
>   }
> }
> Point to note is the operation which accepts a String array. 
> I issue a REST call to this service using following URL (going directly to Axis Server)
& it works.
> http://<IP>:6060/services/MyService/dosomething?params=ABC&params=XYZ&params=PQR
> Take a note of same http parameter name(params) being used with different values. This
is how Axis2 REST implementation allows us to pass values to an array of simple types.
> Now I call this service through my proxy service as follows.
> http://<IP>:8080/services/MyServiceProxy/dosomething?params=ABC&params=XYZ&params=PQR
> Now the service implementation only gets value "PQR". First two values (ABC & XYZ)
are not coming into Axis2 Service level through Proxy Service.

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


Mime
View raw message