Top "Jax-rs" questions

JAX-RS: Java API for RESTful Web Services.

Input and Output binary streams using JERSEY?

I'm using Jersey to implement a RESTful API that is primarily retrieve and serve JSON encoded data. But I have …

java jersey jax-rs
Read response body in JAX-RS client from a post request

Having some sort of proxy between a mobile app and a web-service, we are puzzled by the response when issuing …

java json web-services cxf jax-rs
MessageBodyWriter not found for media type=application/json

I am facing issues while consuming JAX-RS services as JSON. Below I have added my code. This is my service …

java rest jersey jax-rs
A message body writer for Java type, class myPackage.B, and MIME media type, application/octet-stream, was not found

I am new at RESTful webservices and was trying to update my @OneToMany relationship from a standalone client application, but …

web-services rest jersey java-ee-6 jax-rs
How to set up JAX-RS Application using annotations only (no web.xml)?

Is it possible to set up a JAX-RS application using annotations only? (using Servlet 3.0 and JAX-RS Jersey 1.1.0) I tried and …

java jakarta-ee jax-rs servlet-3.0
How to set response header in JAX-RS so that user sees download popup for Excel?

I wrote code that generate Excel file using REST JAX-RS and I confirmed that the generated Excel file is in …

java rest header jax-rs glassfish-3
What is the difference between JAX-RS and JAX-WS?

After reading a few articles about JAX-RS and JAX-WS, I had a few questions that I want to confirm? Can …

web-services rest soap jax-ws jax-rs
File upload along with other object in Jersey restful web service

I want to create an employee information in the system by uploading an image along with employee data. I am …

java jersey jax-rs multipartform-data postman
how to send json object from REST client using javax.ws.rs.client.WebTarget

I have a POJO given below which I want to PUT to the server as JSON or XML. This is …

java rest jax-rs jersey-2.0 jersey-client
How to enable Cross domain requests on JAX-RS web services?

I developed a set of restful web services. I couldn't call any of these methods from remote clients due to …

cors jax-rs cross-domain java-ee-7 wildfly-8