This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Services and the fly likes begineers Q... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "begineers Q..." Watch "begineers Q..." New topic

begineers Q...

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
what are web methods?

if nybody having good link to begin plzz do share!!!

SCJP 1.4
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
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

Joined: Aug 19, 2005
Posts: 2930
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.
I agree. Here's the link:
subject: begineers Q...
It's not a secret anymore!