axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chanika Geeganage (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5624) Resource Dispatching for Multiple parameters with the same resource name
Date Thu, 16 Jan 2014 10:01:22 GMT

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

Chanika Geeganage updated AXIS2-5624:
-------------------------------------

    Attachment: axis2

Diff file is attached to overcome this limitation. I have introduced a compiled regex as a
key in the map for each resource. So when we invoking the resource it will check whether the
compiled regex pattern match with the request URL. 

> Resource Dispatching for Multiple parameters with the same resource name
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-5624
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5624
>             Project: Axis2
>          Issue Type: Improvement
>          Components: kernel
>    Affects Versions: 1.6.1
>            Reporter: Chanika Geeganage
>         Attachments: axis2
>
>
> Currently, HTTP based resource dispatching is implemented by keeping a map with the following
key value pairs.
> key = HTTP method + resource name
> value = axis2 operation
> The limitation of the this implementation is, it does not recognize following resources
separately, as they are having the same resource name.
> customers
> customers/{age}
> customers/{age}/name/{name}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message