Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

begineers Q...

 
Himanshu Rawat
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are web methods?

if nybody having good link to begin plzz do share!!!
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems to be a .Net concept that makes C# and VB.Net methods accessible by web services. Is this what you are asking about?
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the javax.jws.WebMethod annotation is part of JSR 181 (Web Services Metadata for the JavaTM Platform) and JSR 224 (JavaTM API for XML-Based Web Services (JAX-WS) 2.0.
XFire JSR-181 Examples
The WebMethod annotation(Java)/attribute(.NET) identifies class methods that are to be exposed as part of a Web service endpoint interface.
Unfortunately that feature can be abused to bypass the "design the interface first" directive but that's another story.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic