Description
Hi,
I have a api with two resources with "/*" url mapping and deferent uri-templates. 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 case when we invoke second api, findResource() method cannot return the resource . Simply we cannot invoke it.
I analyzed the source "URLMappingBasedDispatcher.java" in apache synapse and in findresource() method doesnot count http-methods of the resources causes this issue.
Since there are tools which can produce this type of api.xml's I think its better to add this to synapse too.
Thanks.