Re: Deserializing Encoded Query String

2012-03-06 Thread Ari King
>> I've configured a method to receive query string parameters (see >> below), but it does NOT receive all sent parameters. >> >> public Response lookup (@QueryParam("") CriteriaDto criteria) { ... } >> >> Seemingly encoded parameters are NOT populated in the DTO. For example, >> given -- >> >> Raw

Deserializing Encoded Query String

2012-02-24 Thread Ari King
Hi, I've configured a method to receive query string parameters (see below), but it does NOT receive all sent parameters. public Response lookup (@QueryParam("") CriteriaDto criteria) { ... } Seemingly encoded parameters are NOT populated in the DTO. For example, given -- Raw query string: ?loc

Sharing Root Resource Locator?

2011-12-20 Thread Ari King
How can I share a root resource across multiple classes? For example, I have two classes, ProfileDataService & ProfileUploadService, that handle requests for information and uploads respectively. How can I have both of these classes and their respective methods share the root "/profiles"? Thanks.

Re: Unrecognised Field WebApplicationException

2011-12-14 Thread Ari King
> When I try to execute a PUT against http://localhost:8080/users/{id} I get: > > WARNING: WebApplicationException has been caught : Unrecognized field > "id" (Class com.ws.dto.UserDto), not marked as ignorable >  at [Source: org.apache.cxf.transport.http.AbstractHTTPDestination$1@1e0969b; > line:

Unrecognised Field WebApplicationException

2011-12-14 Thread Ari King
When I try to execute a PUT against http://localhost:8080/users/{id} I get: WARNING: WebApplicationException has been caught : Unrecognized field "id" (Class com.ws.dto.UserDto), not marked as ignorable at [Source: org.apache.cxf.transport.http.AbstractHTTPDestination$1@1e0969b; line: 1, column:

How to retrieve/serve upload files?

2010-09-23 Thread Ari King
Hi, I'm interested in learning how I can retrieve/serve files uploaded to my web service. The only thing I could think of was to use apache's http server as a proxy to serve these static files; but I'm not sure how I'd secure access to the apache http server, in the case of my web service I'm usin