Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

@WebMethod annotation  RSS feed

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that if there are no @WebMethod annotations in a web service endpoint implementation class, then all public methods will be exposed as web service operations.

But, what will happen if there were at least one @WebMethod? Only that method will be exposed or, all public methods will be exposed?

Please explain me.
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

But, what will happen if there were at least one @WebMethod? Only that method will be exposed



Yes you are correct

or , all public methods will be exposed?



No
 
Kenneth Lomvey
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Chaminda
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!