This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call to webservice returning with a response status 500 throws UniformInterfaceException

 
Abhishek Asthana
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I created a small webservice using Jersey framework. I added couple of methods in the service. Below is the code:


I try to access the service using following client code:



The first method succeeds and gives list of users but second call fails with following exception:


I am not able to understand what is wrong here. I tried changing the path also users/8 and users/8/ both fail.
Can someone please give any clues?

Thanks
Abhishek
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic