In this tutorial, I am showing you how to develop a simple RESTFUL web application that serves the XML request and response Jar files required : cxf-bundle-2.7.3.jar httpasyncclient-4.0-beta3.jar httpclient-4.2.1.jar httpcore-4.2.2.jar httpcore-nio-4.2.2.jar javax.ws.rs-api-2.0-m10.jar jaxb-impl-1.0.6.jar jettison-1.3.3.jar neethi-3.0.2.jar org-apache-commons-logging.jar xmlschema-core-2.0.jar 1. Creating a simple Bean class package com.student; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement (name = "Student" ) public class Student { private String name ; public String getName() { return name ; } public void setName(String name ) { this . name = name ; } } 2. Create a Web Service Endpoint Interface package com.student; public interface ChangeStudentDetails { Student changeName(Student student ); Student getName(); } 3.