aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes doubt in web service - @WebMethod makes other methods non-published 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 » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "doubt in web service - @WebMethod makes other methods non-published" Watch "doubt in web service - @WebMethod makes other methods non-published" New topic
Author

doubt in web service - @WebMethod makes other methods non-published

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
If we put @WebService annotation in a class, it becomes web service and all it's public methods are automatically published. Right?

But if we specify @WebMethod for any method then only this method will be published, and all other methods (ofcourse public one) will not be published. Right?

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: doubt in web service - @WebMethod makes other methods non-published