[ https://issues.apache.org/jira/browse/AXIS2C-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dimuthu Gamage resolved AXIS2C-1290. ------------------------------------ Resolution: Fixed Resolved from Committed revision 714264. > In the REST implementation, Rest Mapping string are expecting to be in a > particular order, this is a bug > -------------------------------------------------------------------------------------------------------- > > Key: AXIS2C-1290 > URL: https://issues.apache.org/jira/browse/AXIS2C-1290 > Project: Axis2-C > Issue Type: Bug > Environment: Linux + windows > Reporter: Dimuthu Gamage > Assignee: Dimuthu Gamage > Attachments: schoolap.zip > > > In the REST implementation, Rest Mapping string are expecting to be in a > particular order, this should be improved to get the rest map in any order to > derive the parameters and the operation. > E.g. > If you have following mapping string, > <!-- list of operations --> > <operation name="getSubjects"> > <parameter name="RESTMethod">GET</parameter> > <parameter name="RESTLocation">subjects</parameter> > </operation> > <operation name="getSubjectInfoPerName"> > <parameter name="RESTMethod">GET</parameter> > <parameter name="RESTLocation">subjects/{name}</parameter> > </operation> > <operation name="getStudents"> > <parameter name="RESTMethod">GET</parameter> > <parameter name="RESTLocation">students</parameter> > </operation> > <operation name="getStudentInfoPerName"> > <parameter name="RESTMethod">GET</parameter> > <parameter name="RESTLocation">students/{name}</parameter> > </operation> > <operation name="getMarksPerSubjectPerStudent"> > <parameter name="RESTMethod">GET</parameter> > <parameter > name="RESTLocation">students/{student}/marks/{subject}</parameter> > </operation> > The last operation "getMarksPerSubjectPerStudent" is not invoked, as the url > pattern is earlier mapped to the "getStudentInfoPerName" operation. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]