File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 42965
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: 2933
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!