Hi everyone,

I'm currently attempting to use Axis2 to interact with a webservice (since the 
createClassFromWsdl function in Matlab doesn't seem to generate the user 
defined class types from the .wsdl).

I've been able to use Axis2 to generate the class files and I've been able to 
import them into Matlab. I can define the object types that are sent as 
parameters in method calls. However, I am unable to run the method calls.

Java exception occurred:
java.lang.InstantiationError:
org.apache.axis2.databinding.ADBDataSource

Matlab is running the same version of java that compiled the code, so I'm 
assuming that the error is occuring because the axis2 that is used by Matlab is 
different to the axis2 1.6.1 that I used to create the classes. How would I 
upgrade Matlab so that it used the same version of Axis? I've already tried 
adding each and every .jar that axis2 1.6.1 uses to the matlab classpath, but 
that hasn't helped.

Kind regards,
Hal.

Reply via email to