Test CXF Restful Services with Rest-Shell @Put @Get

This short post publishes a Restful Web Service and then tests @Put and @Post methods using rest-shell. Create the Service Follow the instructions from my previous post: Produce Json From Restful CXF Web Service. Once you have done this, modify the CustomerService as follows: This provides methods to Put and Get data. Test the Service…

Produce Json From Restful CXF Web Service

In this post, we are going to create a simple Restful web service that returns json. This post follows on from Create Restful Web Services with JBoss, Maven, Apache CXF and Spring, but is also self-contained. Create the Project Using Eclipse / JBoss Developer Studio New -> Maven Project maven-archetype-webapp Group Id: com.skills421.webservices Artifact Id: SimpleCXFRest The…

Create Restful Web Services with JBoss, Maven, Apache CXF and Spring

In this short post, we are going to create a simple restful web service using Apache CXF, Spring, and JBoss AS7. Create the Project Using Eclipse / JBoss Developer Studio New -> Maven Project maven-archetype-webapp Group Id: com.skills421.webservices Artifact Id: SimpleCXFRest The default project structure will be created as follows: Add Missing Folders and Delete index.jsp Right-click…