aspose file tools*
The moose likes Web Services and the fly likes Call to webservice returning with a response status 500 throws UniformInterfaceException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Call to webservice returning with a response status 500 throws UniformInterfaceException" Watch "Call to webservice returning with a response status 500 throws UniformInterfaceException" New topic
Author

Call to webservice returning with a response status 500 throws UniformInterfaceException

Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call to webservice returning with a response status 500 throws UniformInterfaceException