[
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: [email protected]
For additional commands, e-mail: [email protected]