I'm trying to run the soapwithattachments example from the axis2 1.1 release
I'm deploying the aar in my existing servlet container.
After "ant run.client" there's an error message:
D:\development\axis2-1.1\samples\soapwithattachments>ant run.client
-Dfile class10.pdf -Ddest test.pdf
Buildfile: build.xml
compile:
[mkdir] Created dir:
D:\downloads\axis2-1.1\samples\soapwithattachments\build\classes
[javac] Compiling 2 source files to
D:\downloads\axis2-1.1\samples\soapwithattachments\build\classes
check-parameters:
print-usage:
run.client:
[jar] Building jar:
D:\downloads\axis2-1.1\samples\soapwithattachments\build\swaSampleClient.jar
[java] 14.11.2006 13:30:22
org.apache.axis2.deployment.DeploymentEngine doDeploy
[java] INFO: Deploying module : addressing-1.1
[java] 14.11.2006 13:30:22
org.apache.axis2.deployment.DeploymentEngine doDeploy
[java] INFO: Deploying module : soapmonitor-1.1
[java] [JAM] Warning: You are running under a pre-1.5 JDK.
JSR175-style source annotations will not be available
[java] 14.11.2006 13:30:22
org.apache.axis2.deployment.DeploymentEngine doDeploy
[java] INFO: Deploying Web service sample-swa.aar
[java] 14.11.2006 13:30:22
org.apache.axis2.deployment.DeploymentEngine doDeploy
[java] INFO: Deploying Web service version.aar
[java] org.apache.axis2.AxisFault: java.lang.NoSuchMethodError:
org.apache.axis2.databinding.utils.BeanUtil.deserialize(Lorg/apache/axiom/om/OMElement
;[Ljava/lang/Object;Lorg/apache/axis2/engine/ObjectSupplier;)[Ljava/lang/Object;
[java] at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
[java] at
sample.soapwithattachments.client.SWAClient.transferFile(SWAClient.java:133)
[java] at
sample.soapwithattachments.client.SWAClient.main(SWAClient.java:81)
[java] Exception in thread "main"
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 5 seconds
kr,
philipp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]