This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Web Services and the fly likes Webservice annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservice annotations" Watch "Webservice annotations" New topic

Webservice annotations

TK Ganesh

Joined: May 22, 2006
Posts: 14
Hi, I am new to Webservices and annotation. I am trying to implement a Simple HelloWorld Webservice program using apache-cxf. There are some annotations in the interface which is giving Compilation error "WebService cannot be resolved to a type" in eclipse. I have set all classpath and it is using jdk 1.5, but still the problem exists. Please let me know the problem...
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
I think we need to see the actual code in the vicinity of the annotation that is causing the problem. Please use the UBB CODE facility when posting code.

Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
As you are new to web services then might be of your interest. Though this small step-by-step guide is for JAX-WS RI not for CXF.

My Blog
I agree. Here's the link:
subject: Webservice annotations
It's not a secret anymore!