hi thers a problem using attachment when i connect normal EchoAttachment class to another server on another machine it connects properly but after tht gives this exception but the same works if the axis is on same oc on same server i am using apache axis beta 2 and weblogic5.1 sp12
D:\xml-axis-beta2>java samples.attachments.EchoAttachment -lhttp://192.6.167.156:80/axis/servlet/AxisServlet getProdBBY.xml java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.encoding.ser.JAFDataHandlerSerializer.serialize(JAFDataHandlerSerializer.java:112) at org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1033) at org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:633) at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:685) at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:387) at org.apache.axis.message.MessageElement.output(MessageElement.java:651) at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:379) at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:306) at org.apache.axis.Message.getContentLength(Message.java:334) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:382) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:174) at org.apache.axis.client.Call.invoke(Call.java:1905) at org.apache.axis.client.Call.invoke(Call.java:1690) at org.apache.axis.client.Call.invoke(Call.java:1608) at org.apache.axis.client.Call.invoke(Call.java:1169) at samples.attachments.EchoAttachment.echo(EchoAttachment.java:138) at samples.attachments.EchoAttachment.main(EchoAttachment.java:310) Regards Amit _________________________________________________________ There is always a better job for you at Monsterindia.com. Go now http://monsterindia.rediff.com/jobs
