Hi Sergey,
This is how my resource class looks like :
@GET
@ProduceMime("application/json")
@Path("/setPageLayout/{navItemUid}/{layoutUid}/")
public RESTResponse setLayoutForPage(@PathParam("navItemUid") String
navItemUid,
@PathParam("layoutUid") String layoutUid) {
Thanks,
Sandhya
Sergey Beryozkin wrote:
>
> Hi
>
>> Hi,
>>
>> I have a service with a GET method that accepts 2 parameters.
>> (/setPageLayout/{navItemUid}/{layoutUid}/). When I try to access the
>> service
>> specifying only one parameter, the operation is getting identified.
>> However,
>> when I call the service with no parameters specified, I get an error
>> message
>> saying "No operation matching request path
>> /applylayoutservice/setPageLayout/ is found, ContentType : */*, Accept :
>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5.".
>
> Can you post please a sample of how you annotate a resource class ?
>
> Cheers, Sergey
>
>>
>> Can somebody tell me what might be the reason for this.
>>
>> Thanks and Regards,
>> Sandhya
>> --
>> View this message in context:
>> http://www.nabble.com/No-operation-matching-request-path...-tp17961444p17961444.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
>
>
--
View this message in context:
http://www.nabble.com/No-operation-matching-request-path...-tp17961444p18023262.html
Sent from the cxf-user mailing list archive at Nabble.com.