wood burning stoves
The moose likes Web Services and the fly likes RestEasy Delete a List of Integers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "RestEasy Delete a List of Integers" Watch "RestEasy Delete a List of Integers" New topic

RestEasy Delete a List of Integers

Shannon Sims
Ranch Hand

Joined: Jul 03, 2003
Posts: 197
Hi everyone, thanks for reading my post.

I'm new to Resteasy and web services, so I greatly appreciate any help or guidance you can provide. I'm trying to delete a List of Intergers from a Rest server. If I want to delete a list of integers (ids) from the database, does my interface have to declare the @Path?

The client broker:

The client side interface:

The server side implementation of my client side interface (above):

When I execute the above code I get a RuntimeException: could not find writer for content-type application/xml type: java.util.List. I do have the "resteasy-jaxb-provider.jar" added to Eclipse /WEB-INF/lib directory.

I've tried declaring and undeclaring the Path, Consumes and modified the delete paramters but nothing I do works. The web and documentation doesn't provide much information on @Delete.

Thanks for any help you can provide!
Environment: Windows 7, JBoss 5.1, Eclipse Helios, RestEasy 2.3.5
I agree. Here's the link: http://aspose.com/file-tools
subject: RestEasy Delete a List of Integers
It's not a secret anymore!