axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Taubenberger <Stefan.Taubenber...@icn.siemens.de>
Subject Attachment / Errors
Date Wed, 03 Apr 2002 05:59:26 GMT
Hello,

did anyone know what  I am doing wrong by sending an attachment ??
These are the error messages I get ,when Iam trying to send an
attachment.
Where is the bug ?? My environment ?? Any ideas ??


java.lang.IllegalArgumentException: java.lang.ClassCastException@9fa8f
on object "samples.attachments.EchoAttachmentsService", method name
"echo", tried argument types:
org.apache.axis.attachments.AttachmentPart

 at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown Source)
 at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknown
Source)
 at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
 at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1480)

 at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)

 at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)

 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:374)
 at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown
Source)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
 at org.apache.axis.client.Call.invoke(Unknown Source)
 at org.apache.axis.client.Call.invoke(Unknown Source)
 at org.apache.axis.client.Call.invoke(Unknown Source)
 at org.apache.axis.client.Call.invoke(Unknown Source)
 at samples.attachments.EchoAttachment.echo(EchoAttachment.java:150)
 at samples.attachments.EchoAttachment.main(EchoAttachment.java:336)



Mime
View raw message