• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make anotation call using netbeans

 
anarkali perera
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using this tutorial.

http://java.sun.com/javaee/5/docs/firstcup/doc/p6.html

i have finished till "Annotate the DukesAge Class as a Web Service" in the tutorials.
i can't fined how to make anotation class using netbeans.
i change my class by manually

then it says cann't find symbol WebService?
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can't fined how to make anotation class using netbeans.

Do you want to create an annotation or use one?? If you just want to use the @WebService annotation, then just add an import for javax.jws.WebService class (netbeans automatically prompts for adding the import for you)...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic