Hi, I need to develop a java client for a WCF service. I have the
restriction to target java version 1.3.
When I run wsdl2java I have the following error:
C:\Program Files\Java\axis2-1.5.3\bin>wsdl2java.bat -h
Using AXIS2_HOME: C:\Program Files\Java\axis2-1.5.3
Using JAVA_HOME: C:\Program Files\Java\jdk1.3.1_20\
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/ax
is2/wsdl/WSDL2Java (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
6)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
The axis2 home page says it requires java 1.3 or later. What is wrong?
Please help! Thanks!
Sole