• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

POST/PUT using CXF REST web service

Sunny Bhandari
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic