It looks like there is some problem with your classpath setting.
the activation.jar is missed.
Please make sure you download the Axis2 ver 1.4 and include all jar under its /lib folder into the classpath.
Check the readme file for setting up classpath.
Currently, the jars are compiled under JDK 1.6 and you need have jre/jdk 1.6 to run the sample.
core API and toolkits team
Could you attach your test code and I can take a look?
core API and toolkits team
Ans mr. Weitian from Dooryim
First, I use axis1_4 distinctly. (according to my first picture)
Second, here is in my classpath
C:\apache\axis\axis-1_4\lib\axis.jar;
C:\apache\axis\axis-1_4\lib\axis-ant.jar;
C:\apache\axis\axis-1_4\lib\commons-discovery-0.2.jar;
C:\apache\axis\axis-1_4\lib\commons-logging-1.0.4.jar;
C:\apache\axis\axis-1_4\lib\jaxrpc.jar;
C:\apache\axis\axis-1_4\lib\log4j-1.2.8.jar;
C:\apache\axis\axis-1_4\lib\saaj.jar;
C:\apache\axis\axis-1_4\lib\wsdl4j-1.5.1.jar;
C:\java\jdk1.5.0_18\lib\tools.jar;
C:\devprojects\visdk21\SDK\samples_2_0\Axis\java\vim.jar;
C:\devprojects\visdk21\SDK\samples_2_0\Axis\java\lib\activation.jar;
C:\devprojects\visdk21\SDK\samples_2_0\Axis\java\lib\mailapi.jar;
Third, my second picture shows that I use JDK1_5_0 to run the sample because I do as picture3 in my e-book.However,I 'm dowloading jdk and jre 1.6 now.
Forth,here is my VmpowerOp.java code.
Finally,picture4 displays that I can run SimpleClient but I can't run VMpowerOps as I mentioned before.Because I don't know datacenter paramiter.
I see. You run the samples downloaded from VI SDK, not from VI SDK for Java tech preview.
VI SDK for Java is the next version and replacement of vim25.jar in VI SD.
core API and toolkits team
Thanks mr. Weitian I have finished it.
