File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
XML generation pbm with JAXB Marshaler
S2: autocompleter - how to populate a list based on user's input?
jax-ws : return list of JPA entities
ERROR!! SAXParseException: Premature end of file.
html:select and html:options