Please help ..... simple JAX-WS Example does not work
I tried out the simple Calculator Example described at http://weblogs.java.net/blog/vivekp/archive/2006/12/webservices_in.html (Vivek Pandey's Blog).
and got following error message typing apt ...:
error: Could not get TypeDeclaration for: jaxws_calc.Calculator_Add in apt round
: 2
Problem encountered during annotation processing;
....
.\jaxws_calc\jaxws\Add.java:11: incompatible types
found: javax.xml.bind.annotation.XmlAccessType
required: javax.xml.bind.annotation.AccessType
@XmlAccessorType(XmlAccessType.FIELD)
In the code of the Add.java and the AddResponse.java there are only XMLAccessTypes/XmlAccessorTypes.
My system propertyjava.endorsed.dirs is set toC:\Programme\Java\jre1.6.0\lib\endorsed
I copied the folowing jars in this directory (as the Java Web Services Developer Pack 2.0 had described) and some additionally from the jwsdp 2.0:
dom.jar
jaxp-api.jar
jaxb-api.jar
jaxp-api.jar
jaxws-api.jar
sax.jar
xalan.jar
xercesImpl.jar
Can you tell me what else I have to do to avoid this mistake?

