post « jersey « Java Enterprise Q&A





1. Using the Jersey client to do a POST operation    stackoverflow.com

In a Java method, I'd like to use a Jersey client object to do a POST operation on a RESTful web service (also written using Jersey) but am not sure how ...

2. How to post an XML file using a REST Client in Jersey    stackoverflow.com

I want to send an XML file and receive the response back as an XML file. The code that I am trying throws an exception, please could someone help. I am ...

3. SAXParseException when doing post with a XML file in jersey    stackoverflow.com

I use jaxb in my REST application. I want to send an XML file via a web form. Then the java Class will unmarshal the InputStream.

private void unmarshal(Class<T> docClass, InputStream ...

4. curl POST to RESTful services    stackoverflow.com

There are a lot of questions on Stackoverflow about curl but I could not figure out what is that I am doing what I am not supposed to. I am trying to ...

5. Jersey Consumes XML post    stackoverflow.com

I want to make a Post to Jersey Rest service. What is the standard way of doing this? @Post @Consumes(MediaType.Application_xml) public Response method(??){}

6. RESTful using Jersey: method to POST multiple entities    stackoverflow.com

I am trying to develop a method in my RESTful web service in Java to insert multiple entries into a MySQL DB using POST request. The generated RESTful Web Service has ...

7. How do I receive a file using MuleESB Jersey using PUT or POST?    stackoverflow.com

I'm using Jersey in Mule v2.2.1 to expose a REST interface. I having trouble determining how to expose the service and process the file. For example, I'm looking for ...

8. @POST in Jersey Viewable    stackoverflow.com

Any example on Jersey Viewable using @POST methods ?

9. Simulating actions by Overloading POST vs Embedding in the URI    stackoverflow.com

I am currently reading Restful Java & Restful Web Services and have a style question about REST where these two books seem to disagree. Specifically what to do about changing ...





10. Jersey - consume XML and HTML on POST    stackoverflow.com

I would like to provide a flexible authentication method for my RESTful webservice - either via a HTML form or XML. I realize that I can make an AJAX call ...

11. Disabling Cache POST method using Jersy    stackoverflow.com

I am facing a weird problem. I am using RESTFUL Post method and taking a JSON object using JAXB element, it's working fine for some 20-30 requests and then its giving ...

12. How to POST a JSON object to a JAX-RS service    stackoverflow.com

I am using the Jersey implementation of JAX-RS. I would like to POST a JSON object to this service but I am getting an error code 415 Unsupported Media Type. What ...

13. Rest using @QueryParam with @POST or @PUT    stackoverflow.com

I'm using jersey API for some REST web services with apache Tomcat. I need to pass more than one parameter to a method so I decided to use @QueryParam annotation like ...

14. Jersey RESTful web service - How to post XML file using jersey framework    coderanch.com

Hi All, I am writing a RESTful web service which will take a XML file as input and process the same, and save it into database. I am new to RESTful web services(jersey), can anybody please help me how to achieve the things using jersey. 1- Please give any link if you have? 2- Sample code which will help me to ...