posted 13 years ago
I am writing REST web service with CXF framework and facing issues.
I have successfully issued GET and DELETE requests but not able to complete the POST and PUT requests.
See the code and let me know if I need to do something different for POST and PUT requests
The code and the exception that I get follows
OrderInfo.java - An interface for defining the webservice operation
Order.java - A order object with getters/setters
OrderList.java - A list of Order objects
OrderInfoImpl.java - A concrete implementation of web service
Test.java to invoke the HTTP requests
The exception is: