Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

POST/PUT using CXF REST web service  RSS feed

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 - An interface for defining the webservice operation - A order object with getters/setters - A list of Order objects - A concrete implementation of web service to invoke the HTTP requests

The exception is:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!