This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 184
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: 41060
    
  43
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 - my free Android networking tools app
Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 184
Thanks for confirmation Ulf Dittmer
 
jQuery in Action, 2nd edition
 
subject: Is Restful webservice must have page tied with it?
 
Similar Threads
HttpServletResponse object in webservice
Webservice & EJB
Time out in WS call??
web service client type
Problem with SOAP