I am developing an application which should serve as a client to a Web Service.
I have generated source files based on the WSDL file using the wsimport utility. It works fine on my development machine with JDK 1.7 (e.g. it compiles and runs fine).
I cannot even compile the application in the test environment though, where I have JDK 1.5. I get a bunch of errors like the following:
Cannot find symbol: class WebMethod
Is suspect the problem is with the lesser version of JDK.
What should I do to fix this, e.g. to update the application to become Java 1.5 compatible?
It must be run a standalone console application.
You're correct, it is a function of your JDK, JAX-WS
(annotations) was included in the J2SE JDK with v1.6. Doesn't exist in 1.5. It lives outside of the JDK as Project Metro, sample code