I am trying to use wsimport in build.xml with AXIS2 wsdl. But it fails to compile with one of the auto-created
java files.
C:\Developments\xxx\rpm\sessions\interfaces\api\ws\RPL1RechargeServices.java:323: incompatible types
[wsimport] found : xxx.rpm.sessions.interfaces.api.ws.RPMException
[wsimport] required: java.lang.Throwable
[wsimport] throws RPMException
[wsimport] ^
[wsimport] C:\Developments\xxx\rpm\sessions\interfaces\api\ws\RPL1RechargeServices.java:340: incompatible types
[wsimport] found : xxx.rpm.sessions.interfaces.api.ws.RPMException
[wsimport] required: java.lang.Throwable
[wsimport] throws RPMException
[wsimport] ^
[wsimport] C:\Developments\xxx\rpm\sessions\interfaces\api\ws\RPL1RechargeServices.java:360: incompatible types
[wsimport] found : xxx.rpm.sessions.interfaces.api.ws.RPMException
[wsimport] required: java.lang.Throwable
[wsimport] throws RPMException
[wsimport] ^
[wsimport] C:\Developments\xxx\rpm\sessions\interfaces\api\ws\RPMException.java:30: cannot find symbol
[wsimport] symbol : constructor Exception(java.lang.String)
[wsimport] location: class java.lang.Exception
[wsimport] super(message);
[wsimport] ^
[wsimport] C:\Developments\xxx\rpm\sessions\interfaces\api\ws\RPMException.java:41: cannot find symbol
[wsimport] symbol : constructor Exception(java.lang.String,java.lang.Throwable)
[wsimport] location: class java.lang.Exception
[wsimport] super(message, cause);
[wsimport] ^
I am using jdk 1.6. Can some one help me in this please?
Thanks
Anil