On Sun, Mar 31, 2013 at 11:54 AM, Sergey Beryozkin <[email protected]> wrote:
> Hi Benson - we probably need to know how the method level @Path and
> parameter annotations look like, there could be some hints there why
> "/get/45" causes the problem
I was guessing that it's trying to parse "/get/45" as in integer.
However, you are right: we don't know what's annotated on the method,
only what's on the class.
> I also recall reading about this error before, @fachhoch - can you try the
> latest released CXF ?
>
> Sergey
> On 31/03/13 18:48, Benson Margulies wrote:
>>
>> get rid of the '/get', or change the @Path to ("/itemService/get")
>>
>> On Sun, Mar 31, 2013 at 6:50 AM, fachhoch<[email protected]> wrote:
>>>
>>> I am new to rest services.
>>> one of my method I annotated with JAX-RS
>>>
>>>
>>>
>>> my cxf servlet is configures to /* (all requests) and my service is /
>>> and
>>> class with @Path("itemService")
>>>
>>> I open the url localhost:8080/myapp/itemService/get/45 nothing happens
>>> in
>>> browser but in console I get
>>>
>>> error , Its number format exception, Please advice me what is the right
>>> url
>>> for method.
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://cxf.547215.n5.nabble.com/rest-service-url-tp5725622.html
>>> Sent from the cxf-user mailing list archive at Nabble.com.
>
>
>