axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Brunner ...@blumenstrasse.vol.at>
Subject Attachments sample not working in 1.0?
Date Mon, 14 Oct 2002 16:15:36 GMT
Hello,

when trying to start the attachment sample ("sh testit.sh MYFILE") I 
get the following error:

java.io.IOException: No support for attachments
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.io.IOException: No support for attachments
 faultActor: null
 faultDetail:

Did I make any mistakes? (I believe it is a client error, yet I think 
I included all of the jar files in lib)
Software: Axis 1.0, Tomcat 4.1.12, JDK 1.4.1, Linux


Stack trace:

java.io.IOException: No support for attachments
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.io.IOException: No support for attachments
 faultActor: null
 faultDetail:
        stackTrace: java.io.IOException: No support for attachments
        at 
org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:120)
        at 
org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1231)
        at 
org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:756)
        at 
org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:853)
        at 
org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:147)
        at 
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:401)
        at 
org.apache.axis.message.MessageElement.output(MessageElement.java:746)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:273)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:488)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:379)
        at org.apache.axis.Message.getContentType(Message.java:400)
        at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:345)
        at 
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at 
org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1851)
        at org.apache.axis.client.Call.invoke(Call.java:1777)
        at org.apache.axis.client.Call.invoke(Call.java:1315)
        at 
samples.attachments.EchoAttachment.echo(EchoAttachment.java:146)
        at 
samples.attachments.EchoAttachment.main(EchoAttachment.java:351)


java.io.IOException: No support for attachments
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:275)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:488)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:379)
        at org.apache.axis.Message.getContentType(Message.java:400)
        at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:345)
        at 
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at 
org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1851)
        at org.apache.axis.client.Call.invoke(Call.java:1777)
        at org.apache.axis.client.Call.invoke(Call.java:1315)
        at 
samples.attachments.EchoAttachment.echo(EchoAttachment.java:146)
        at 
samples.attachments.EchoAttachment.main(EchoAttachment.java:351)
Caused by: java.io.IOException: No support for attachments
        at 
org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:120)
        at 
org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1231)
        at 
org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:756)
        at 
org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:853)
        at 
org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:147)
        at 
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:401)
        at 
org.apache.axis.message.MessageElement.output(MessageElement.java:746)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:273)
        ... 16 more

-- 
Matthias Brunner <mb@blumenstrasse.vol.at>
PGP FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc


Mime
View raw message