Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1
-
None
-
None
-
Important
Description
Hi,
We have two resources in same API and a sample is as follows,
<resource methods="PATCH GET DELETE PUT" url-mapping="/*" faultSequence="fault"> . . </resource> <resource methods="POST" url-mapping="/*" faultSequence="fault"> . . <handlers>
In this two resources we have to url-templates.
When we try to invoke second resource, findResource() method loose the second resource.
I checked the "URLMappingBasedDispatcher.java" in synapse and this occures due to http-method is not count inside this method.
Since many tools allow this kind of api formats I think its better we fix this?
Thanks.