• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSIMPORT error while using it with AXIS2

 
anilkumar potu
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
sammaiah kyatham
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Use document/literal and ADB binding.

Thanks,
Sam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic