aspose file tools*
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
Author

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?

CLIENT:
The client broker:

The client side interface:


SERVER:
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
 
Consider Paul's rocket mass heater.
 
subject: RestEasy Delete a List of Integers