It looks like you are either omitting the "Accept: " header or the Service
API has defined an empty @Consumes.
Since it is a 500 I bet the service is wrong.
Please add the actual request you are performing.
Kind regards.
SerafĂn.
2011/9/22 Miguel Tinte <miguel.tinte@gmail.com>
>
> Hi,
>> I am using Wink to access via REST service to a SCA component deployed in
>> http://localhost:8080/component. When I load my REST request by adding
>> "/hello" to the previous URL it returns:
>>
>> INTERNAL_SERVER_ERROR
>>
>> Caused by:
>>
>> java.lang.NullPointerException
>> at org.apache.wink.common.internal.http.Accept.valueOf(Accept.java:139)
>>
>> Any idea?
>>
>> Thanks in advance
>>
>
>
|