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 Is Restful webservice must have page tied with it? 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 "Is Restful webservice must have page tied with it?" Watch "Is Restful webservice must have page tied with it?" New topic
Author

Is Restful webservice must have page tied with it?

Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 177
Good day,

I have create a webservice using spring and managed to call it, however the service method called do not need to return anything, it purely trigger and show the message of successfully call.

My question is, what need to be done in order to bypass the page/view return?

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
I don't think you can write a WS method that doesn't return anything. But something like an empty string should work fine.


Ping & DNS - updated with new look and Ping home screen widget
Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 177
Thanks for confirmation Ulf Dittmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is Restful webservice must have page tied with it?
 
Similar Threads
Webservice & EJB
Time out in WS call??
web service client type
HttpServletResponse object in webservice
Problem with SOAP