aspose 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
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: 189
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: 42611
    
  65
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: 189
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?