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 Philipp Perner <ph...@healthgate.at> on 2006/11/14 13:37:48 UTC

problem w. axis2-1.1\samples\soapwithattachments

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: problem w. axis2-1.1\samples\soapwithattachments

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hope you are using the axis2.war created using axis2 1.1 binary distro
or downloaded from Axis2 1.1 release.

Problem looks like  a issue with old jars coming in the middle..

Thilina

On 11/14/06, Philipp Perner <ph...@healthgate.at> wrote:
> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org