It works for me. (Yeah, I know, that doesn't help you much!) Are you using tomcat? Do you have activation.jar in tomcat's common/lib directory?
Russell Butek [EMAIL PROTECTED] "Stan Jordan" <[EMAIL PROTECTED]> on 03/19/2002 05:42:40 PM Please respond to [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: real AXIS beta 1 problem (samples/attachments) When I run this example, I get the exception pasted below. Has anyone else had success with this example? Thanks. Stan I used beta1 dated 3/19/02 ----------------------------------- java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.AxisFault.makeFault(Unknown Source) at org.apache.axis.SOAPPart.getAsString(Unknown Source) at org.apache.axis.SOAPPart.getAsBytes(Unknown Source) at org.apache.axis.Message.getContentLength(Unknown Source) at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source) at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source) at org.apache.axis.SimpleChain.doVisiting(Unknown Source) at org.apache.axis.SimpleChain.invoke(Unknown Source) at org.apache.axis.client.AxisClient.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 org.apache.axis.client.Call.invoke(Unknown Source) at samples.attachments.EchoAttachment.echo(Unknown Source) at samples.attachments.EchoAttachment.main(Unknown Source) Caused by: java.lang.NullPointerException at org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(Unknown Source) at org.apache.axis.encoding.SerializationContextImpl.serializeActual(Unknown Source) at org.apache.axis.encoding.SerializationContextImpl.serialize(Unknown Source) at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(Unknown Source) at org.apache.axis.message.SOAPEnvelope.outputImpl(Unknown Source) at org.apache.axis.message.MessageElement.output(Unknown Source) ... 14 more
