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.