my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt in web service - @WebMethod makes other methods non-published
 
Similar Threads
@WebMethod rules
Exposing ws methods
Enthuware standard tests doubts
WebServiceContext and AspectJ
@WebMethod annotation