Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Consuming .NET webservice with Apache Axis  RSS feed

 
Madhur Shrma
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to consume a .NET Webservice. I have used Axis2 to generate stub classes.
I have imported all the required jars but I am getting below compile time error.
'Cannot instantiate the type ADBDataSource' for this code
Can somebody suggest what could be the reason for this. Thanks
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A search for ADBDataSource found a listing of the class. According to this:



That is a abstract class so of course it can't be constructed.

You need to find out what class extends ADBDataSource for the actual implementation.

Bill

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!