You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Hal Cooper <ha...@uon.edu.au> on 2011/12/17 06:13:44 UTC

[Axis2] Upgrading Axis2 in Matlab for use with wsdl2java

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.